Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sailendra
Frequent Visitor

Dynamic X-axis for numerous categories

Hi All,

 

I'm stuck in an unusual kind of problem w.r.t Clustered Column Charts in Power BI.

 

Basically, I have created a measure involving multiple tables to arrive at a number/result/output (in %). 

Now, I need to show the same result across various categories in a clustered column chart. The only problem is there are 90,000+ categories. 

 

These 90,000+ categories have also been used as slicers.

 

Our team has agreed to show, overall value when none of the categories is selected (without having to keep the category column in the Axis field, as it takes forever to show the output).Capture.JPG

 

However, when a user selects multiple categories from the slicer, I need to show the selected category in X-axis ( as seen in second image)Capture1.JPG

 

Request your kind help.

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @sailendra ,

 

I did a test and think that the similar solutions provided below can help you, create a measure, use functions such as HASONEVALUE, switch, and filter the slicer to dynamically display the results in the visual.

vhenrykmstf_1-1626241690321.pngvhenrykmstf_2-1626241717662.png

related solution link: Solved: Dynamic change in X Axis - Microsoft Power BI Community

 

If the problem is still not resolved, can you provide a test data model (delete sensitive information) so that I can do accurate testing. Looking forward to your reply.

 

Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-henryk-mstf
Community Support
Community Support

Hi @sailendra ,

 

I did a test and think that the similar solutions provided below can help you, create a measure, use functions such as HASONEVALUE, switch, and filter the slicer to dynamically display the results in the visual.

vhenrykmstf_1-1626241690321.pngvhenrykmstf_2-1626241717662.png

related solution link: Solved: Dynamic change in X Axis - Microsoft Power BI Community

 

If the problem is still not resolved, can you provide a test data model (delete sensitive information) so that I can do accurate testing. Looking forward to your reply.

 

Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.