The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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!