Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I'm just starting with measures and have been trying to create a measure that will display the total of all of my true sold assets in a column for each id to view in a visual tooltip. I used my true sold measure as my starting point and tried to integrate ALLSELECTED into it to no avail.
Below is my sample data and the desired columns are bordered. My true sold measure works as expected, but I cannot figure out how to get a measure to display what is in the True Sold All column.
Thank you for any help!
Solved! Go to Solution.
Hi @ejf18 ,
I suggest you to try measures as below.
True Sold =
CALCULATE(DISTINCTCOUNT(Repairs[Asset]),Repairs[Sold] = TRUE())
True Sold All =
CALCULATE(DISTINCTCOUNT(Repairs[Asset]),FILTER(ALL(Repairs),Repairs[Sold] = TRUE()))
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ejf18 ,
I suggest you to try measures as below.
True Sold =
CALCULATE(DISTINCTCOUNT(Repairs[Asset]),Repairs[Sold] = TRUE())
True Sold All =
CALCULATE(DISTINCTCOUNT(Repairs[Asset]),FILTER(ALL(Repairs),Repairs[Sold] = TRUE()))
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you, this worked for me! Whenever I attempted to do it myself I kept placing the ALL after everything and not in the middle. Thank you again!
Hi @ejf18 to count all sold without any filter for ID's it is simple COUNTROWS ('Repairs'). I hope this help
Proud to be a Super User!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |