Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am fairly new to Power BI and loaded a query to build various reports from. The query loaded fine. However, I'm trying to filter the table by only showing rows based on a count of < 3 on a column included in the query/table. I've tried a measure using Calculate and distinctcount but always get errors:
Solved! Go to Solution.
Hi,
Please try the below.
ActionsItemsCount =
CALCULATE (
DISTINCTCOUNT ( 'Referrals'[seq_no] ),
FILTER ( 'Referrals', 'Referrals'[seq_no] < 3 )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
Please try the below.
ActionsItemsCount =
CALCULATE (
DISTINCTCOUNT ( 'Referrals'[seq_no] ),
FILTER ( 'Referrals', 'Referrals'[seq_no] < 3 )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Ahhh, I forgot the second table reference. Thank you so much. Now if I could just figure out how to actually apply this measure to the report output that would be great.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |