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.
Hi,
I want the visuals linked to slicer to display the selected values at the selected hierarchy level. Bookmarks or extra buttons is not an option. Drilldown in visuals is not a possible solution either.
For example, if user selects Dep1 and Dep2 from hierarchy slicer the x-axis in visual should show texts “Dep1” and “Dep2” below bars. How can I achieve this?
Company
Division1
Dep1
Dep2
Division2
Dep3
Dep4
Solved! Go to Solution.
Hi @tuulia
Please view my report and access the dynamic x-axis filter and let me know if this is what you're looking for?
Thanks,
Ankit
Hi @tuulia
Please view my report and access the dynamic x-axis filter and let me know if this is what you're looking for?
Thanks,
Ankit
@AnkitKukrejaI think this is the best workaround and it seems to be quite flexible. I belive these extrabuttons are ok to endusers.
@AnkitKukrejaThank you, but extra buttons (like this "Dynamic X-axis") is not a required outcome..
@tuulia ,
Create a table with Unpivoted kind like below.
Division1 | Dep1 |
Division2 | Dep2 |
Division2 | Dep3 |
Division3 | Dep4 |
On measure Use TREATAS to change the column dynamically.
Regards,
Manikumar
Proud to be a Super User!
@tuulia Please find a Dummy Power BI model here.
Appreciate your kudos!! Mark my post as solution if this helps.
@tuulia , You can have a dynamic title, not an axis name.
measure like
concatenatex(Table, table[dept],"and")
or
concatenatex(Table, table[dept],",")
refer: https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-format-visual-titles
https://www.bluegranite.com/blog/create-a-dynamic-title-in-power-bi-updated
Please provide your feedback comments and advice for new videos
Tutorial Series Dax Vs SQL Direct Query PBI Tips
Appreciate your Kudos.
Thank you, but requirement is to show selected values in x-axis..
@tuulia - just change the visual type to stacked column chart on the PBIX which I provided. That will cometo x-axis.
Appreciate your kudos!! Mark this post as solution if this helps.
@Anonymous This is nice solution, but it's not possible to create same kind tables you use (too much data/big cube..)
@tuulia what kinda chart you want to use?
The data would change accordingly if you use this one.
Appreciate your kudos!! Mark my post as solution if this helps.
@Anonymousit's a barchart. This is the requirement I am trying to solve
@tuulia Use this custom visual instead of your bar chart and then see how it behaves-
https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380857?tab=Overview
Appreciate your kudos!! Mark my post as solution if this helps.
@Anonymous thanx for this tip, I think this visual will be useful in future, but it didn't solve my problem..
Please have a look at these posts to check if it could help you.
https://radacad.com/dynamic-x-axis-on-charts-power-bi
https://www.kasperonbi.com/dynamically-switching-axis-on-visuals-with-power-bi/
https://community.powerbi.com/t5/Desktop/Dynamic-change-in-X-Axis/td-p/86167
Appreciate your kudos if you find this informative!! Mark this post as solution if this helps you.
@Anonymous I have seen these links thx! These solutions has extra buttons etc (against requirements).
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
94 | |
75 | |
62 | |
50 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |