March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
14 | |
10 | |
6 | |
5 |
User | Count |
---|---|
29 | |
22 | |
20 | |
13 | |
10 |