הצטרפו לקבוצות שלנו לקבלת עדכונים מרוכזים פעם בשבוע:

ווטסאפ:
http://wa.dwh.co.il
טלגרם:
http://telegram.dwh.co.il

count function: webi vs deski

More
16 years 9 months ago #4391 by eyalbo
היי
יש לי דוח DESKI ודוח WEBI זהים לחלוטין שמביאים את אותה תוצאה בדיוק
יש עמודה של תאריכים שחלק מהם ריקים
כאשר אני מבצע COUNT:
WEBI: סופר את כל הרשומות כולל הריקים המופיעות בטבלה
DESKI: נותן מספר אחר יותר נמוך כאשר גם COUNT ALL נותן מספר שונה מה- WEBI למיטב הבנתי את סה"כ הכמות הרשומות שהיגיעו מהשאילתא

השאלה איך אני מגיע למצב שיש ספירה זהה בשניהם
מצורף קובץ דוגמא

Please התחברות to join the conversation.

More
16 years 9 months ago #4393 by eyalbo
טוב...
אז אחרי מחקר קטן שעשיתי מצאתי שה- DESKI סופר כפילויות רק פעם אחת
וה- WEBI סופר הכל השאלה אם יש דרך להביא את זה לאותה תוצאה

בדוגמא ששלחתי יש סה"כ 31 תאריכים כולל NULL וכפילויות
יש 13 ערכים כפולים שלא נספרים ב-DESKI + ערכים ריקים סה"כ 26 (תוצאה ב- DESKI)

Please התחברות to join the conversation.

More
16 years 9 months ago #4397 by Yoav
Examples
Count("Test") returns 1
Count([City]; DISTINCT) returns 5 if there are 5 different cities in a list of cities, even if there are more than 5 rows in the list due to duplication.
Count([City]; ALL) returns 10 if there are 10 cities in a list of cities, even though some are duplicated.
Count ([City]; INCLUDEEMPTY) returns 6 if there are 5 cities and one blank row in a list of cities.

Best Regards

Yoav Yahav

BI & DWH & SAP Business Objects

+972-52-3562982

bi.bobjects@gmail.com
thebobaba.blogspot.com/
www.bics.co.il/193657/sapbicoeeng
www.bo.dwh.co.il

Please התחברות to join the conversation.

Moderators: Yoav
Time to create page: 0.235 seconds