Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |