The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi everyone,
Details:
I am using a Clustered Column Chart to show Total sales by geographic area. The data looks like this:
GEO | Total Sales | Sales Complete | Sales Pending |
Americas | 10,000,000 | 5,000,000 | 5,000,000 |
ASIA | 12,000,000 | 6,000,000 | 6,000,000 |
EMEA | 14,000,000 | 7,000,000 | 7,000,000 |
Desired outcome:
I want to use the Clustered Column Chart to show Sales Complete & Sales Pending next to each other with the axis showing by Geo.
The Problem:
Currently I am connected to a data cube using a live connection so I cannot create a DAX table to create a category filter.
Question:
How can I create a legend using a DAX measure that will give me the desired outcome given I am using a live connection?
Thank you!
@Anonymous Yeah, the usual way of doing this is the disconnected table trick:
In general, to use a measure in that way, you need to use the Disconnected Table Trick as this article demonstrates: https://community.powerbi.com/t5/Community-Blog/Solving-Attendance-with-the-Disconnected-Table-Trick/ba-p/279563
I cannot enter data, I am on a live connection so this option is not given
Hi, @Anonymous
Unfortunately, you cannot apply the created measure to the visual legend , and Live connection does not support the creation of calculated columns and tables.
We suggest you to modify the original model by adding a category table.
Best Regards,
Community Support Team _ Eason
@v-easonf-msft can you elabrate more on adding a category table, what exactly do you mean?
Hi, @Anonymous
The table used to create the category filter should be created in advance when building the LC model, not after the model is connected using powerbi.
Best Regards,
Community Support Team _ Eason
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
76 | |
65 | |
52 | |
51 |
User | Count |
---|---|
127 | |
116 | |
78 | |
64 | |
63 |