The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
hi all,
i have a sum formula like:
CALCULATE(DISTINCTCOUNT(CLIENT[PK]), FILTER(ALL(Calender), Calender[Date] <= MAX(Calender[Date]))
But something seems to be still strange:
DISTINCTCOUNT is 5 but in some cases the formula adds only 4. Sometimes it is right. Sometimes not.
Where can be the mistake?
Solved! Go to Solution.
it is correct.
if you have 5 distinct values Wednesday, it diesn't mean that it is new distinct 5 value as you values could repeated in the last period
for example, below A will be counted as DISTINCT for Tuesday and Wednesday separately, but it will be counted as 1 DISTINCT value for Tuesday + Wednesday
Tuesday | A |
Tuesday | B |
Wednesday | A |
Wednesday | C |
Wednesday | D |
it is correct.
if you have 5 distinct values Wednesday, it diesn't mean that it is new distinct 5 value as you values could repeated in the last period
for example, below A will be counted as DISTINCT for Tuesday and Wednesday separately, but it will be counted as 1 DISTINCT value for Tuesday + Wednesday
Tuesday | A |
Tuesday | B |
Wednesday | A |
Wednesday | C |
Wednesday | D |
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
102 | |
97 | |
80 | |
62 | |
57 |
User | Count |
---|---|
261 | |
120 | |
113 | |
83 | |
71 |