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 Team,
I have a requirement where I have 2 date slicer as start date and end date.
In the graph I want to dynamically change X-axis of the graph based on the selected start and end date.
Please let me know the solution for this.
Hi @roma
I'd suggest you use one slicer to select the date range :
Then add the calculated column as X-axis:
Column = FORMAT([Date].[Month],"MMM")&"-"&"FCT"
Final outputs:
Pbix attached.
Hi @v-diye-msft ,
Actually the requirement is that, All the months should be there in x-axis and only those months which falls under the selected slicer months should be as "monthname-FCT".
Is there any way to achieve this?
Hi @roma
Sorry for the late reply, it's not achievable as far as I know.
@roma , refer
Dynamically change chart axis in Power BI
https://www.youtube.com/watch?v=6jeSIRpjv0M
My requirement is I have 2 slicer startdate and end date as
and I have a graph as
So in this example the Xaxis should dynamically change as Jan Feb Mar Apr "May-FCT Jun-FCT Jul-FCT Aug-FCT " Sep Oct Nov Dec(because slicer has startdate month as may and enddate month as aug)
Thus whichever month falls under those selection of startdate and enddate , those month should be concatenated as "FCT" rest should be as it is
Please help me to create this.
Thank you.
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 |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
146 | |
108 | |
106 | |
90 | |
62 |