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.
Suppose to have a table like this:
Store, Fruit
A, Apple
A, Banana
A, Banana
A, Grape
B, Banana
B, Grape
B, Grape
How can you get the following output?
Store, Fruits
A, 1 Apple / 2 Banana / 1 Grape
B, 1 Banana / 2 Grape
Solved! Go to Solution.
Well, put Store in a table visualization along with something like:
Measure =
VAR __Table =
SUMMARIZE(
'Table',
[Fruit],
"Count",COUNTROWS('Table')
)
RETURN
CONCATENATEX(__Table,[Count] & " " & [Fruit]," / ")
Well, put Store in a table visualization along with something like:
Measure =
VAR __Table =
SUMMARIZE(
'Table',
[Fruit],
"Count",COUNTROWS('Table')
)
RETURN
CONCATENATEX(__Table,[Count] & " " & [Fruit]," / ")
Exactly what I needed!
I'll mark it as solution.
Thank you so much.
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 |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
58 | |
50 | |
44 | |
19 | |
19 |