Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.
I want to filter values "2024" and "FFR", so i write a measure and the put this on filter panel
I wrote thise measure
it returns me this error
"
Solved! Go to Solution.
Hi @Anonymous ,
Would you like to check if there are any rows in the M_Agg table where the CodZef value is equal to 2024 or FFR? If such rows exist, the measure will return 1; otherwise, it will return 0.
I’ve made a test and encountered the same issue you mentioned. You could try to use countrows instead as @PowerNewUser mentioned, that is a good solution.
Here I have another idea in mind, and I would like to share it for reference.
1\My table
2\My measure
3\Result
Best Regards,
Bof
Hi @Anonymous ,
Would you like to check if there are any rows in the M_Agg table where the CodZef value is equal to 2024 or FFR? If such rows exist, the measure will return 1; otherwise, it will return 0.
I’ve made a test and encountered the same issue you mentioned. You could try to use countrows instead as @PowerNewUser mentioned, that is a good solution.
Here I have another idea in mind, and I would like to share it for reference.
1\My table
2\My measure
3\Result
Best Regards,
Bof
filter is supposed to return a table... maybe wrap it in a countrows and check if >0?
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
37 | |
26 | |
21 | |
12 | |
10 |