Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I have a list table with the following intems:
Item 1 Color
Lolipop Red
Cabbage Green
Lettuce Green
Beets Red
Apple Red
Peaches Red
Olive Black
Grapes White
And I just wanted to display the sum or count for each color in the list. So my dashboard i would have something like:
# of Red = 4, # of White = 1, # of Green = 2.
How do I go about doing so? Any help is greatly appreciated. Is it possible?
Thanks,
PK
Solved! Go to Solution.
To make sure the result does not display "Blank" you can do the following: just add + 0 at the of your measures. So my finaly measure was:
I think I found the solution. I used the following
To make sure the result does not display "Blank" you can do the following: just add + 0 at the of your measures. So my finaly measure was:
@Pklu add a measure and then use color and the measure in the table visual:
Count Measure = COUNTROWS ( YourTable )
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Thanks for the reply. BUt how do I count the different colors - the function you sent was just to count the everything, I need to be able to count only the individual colors into a measure.
So I tried -
Count_Green = COUNTROWS ( Color = value, "Red") but it didn't work. So I am still stuck on this. But thanks for the help.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 56 | |
| 39 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 73 | |
| 70 | |
| 37 | |
| 35 | |
| 25 |