The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Consider the following query result (in the Edit Queries screen):
Now here are two measures I have made on that query:
This is the result:
I expected to see:
Am I missing something, or is this a bug?
Solved! Go to Solution.
Hi @CamronBute,
To use these method or multiple conditions in filtering, please wrap them in Filter method
CALCULATE([Total Views],FILTER(Views,NOT(ISBLANK(Views[Who]))))
Hi @CamronBute
Two reasons I believe are contributing to your unexpected results:
Assuming the blank names are empty strings, this code should work:
Total authenticated views = CALCULATE ( [Total Views], Views[Who] <> "", VALUES ( Views[Who] ) )
Hi @CamronBute
Two reasons I believe are contributing to your unexpected results:
Assuming the blank names are empty strings, this code should work:
Total authenticated views = CALCULATE ( [Total Views], Views[Who] <> "", VALUES ( Views[Who] ) )
Yes, I see now. Thank you for explaining the behaviour I was missing, too.
Hi @CamronBute,
To use these method or multiple conditions in filtering, please wrap them in Filter method
CALCULATE([Total Views],FILTER(Views,NOT(ISBLANK(Views[Who]))))
Yes, this works. Thank you!
User | Count |
---|---|
65 | |
62 | |
60 | |
54 | |
30 |
User | Count |
---|---|
180 | |
88 | |
72 | |
48 | |
46 |