Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
23 | |
21 | |
20 | |
13 | |
12 |
User | Count |
---|---|
43 | |
31 | |
24 | |
23 | |
22 |