Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
14 | |
11 | |
8 |
User | Count |
---|---|
24 | |
19 | |
12 | |
11 | |
10 |