Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a data table like below.
I want to get the name's and corresponding sales amount horizontally as shown below.
how can we show the data like this.
Solved! Go to Solution.
Here's an example that shows one way to do it.
This measure is in the card visual below the table.
TotalsString =
VAR CitySales =
ADDCOLUMNS ( DISTINCT ( Stores[City] ), "cSales", [Total Sales] )
RETURN
"Total Sales: "
& CONCATENATEX (
CitySales,
Stores[City] & ": "
& FORMAT ( [cSales], "$0,,.0M" ),
" "
)
Pat
Here's an example that shows one way to do it.
This measure is in the card visual below the table.
TotalsString =
VAR CitySales =
ADDCOLUMNS ( DISTINCT ( Stores[City] ), "cSales", [Total Sales] )
RETURN
"Total Sales: "
& CONCATENATEX (
CitySales,
Stores[City] & ": "
& FORMAT ( [cSales], "$0,,.0M" ),
" "
)
Pat
Hi @ppm1 the solution that you gave me is working.
Can you please tell me how i can make "Total Slaes" Bold. Is it possible to do it.
Can't think of an easy way to do that. Probably possible with the HTML viewer visual.
Pat
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 40 | |
| 21 | |
| 18 |