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 All
I'm creating a report on power bi dekstop. I add to the page a bar chart as visuals, it shows sales during per day/per month/per quarter/per year. I set a bookmark to filter the chart by day, month, quarter and year. In the date field I set date if I want to see the cart by day and date hierarchy to see the graph by month, quarter and year
to see the graph only by month I left year, quarter and month
to see the graph only by quarter I left quarter and year
to see the graph by year I only left year
the issue is that when i publish the report if i filter the graph by month and by quarter i see the graph filtered by year, even if in the power bi dekstop i left quarter and month. Do you know how i can solve it?
thanks
Solved! Go to Solution.
Hello @Azzurra997 ,
Try using field parameters to group the year / quarter / Month / Day and then add the value of this parameter to the X-axis and use the slicer to switch between them.
https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
Hello @Azzurra997 ,
you need to have seperate columns for Year, month, Quarter, Day and then you group them as shown in the following link
https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
Hello @Azzurra997 ,
you need to have seperate columns for Year, month, Quarter, Day and then you group them as shown in the following link
https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
Many thanks! I managed to do it. However, last question: how can I set a fixed sorting? i would like to sort the chart by date not by amount. I tried to click on the three dots and then sort axis, but it doenst remain fixed
Hello @Azzurra997 ,
Try using field parameters to group the year / quarter / Month / Day and then add the value of this parameter to the X-axis and use the slicer to switch between them.
https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
Hi, thanks! could you share a guideline or kindly explain how to group the dates by day, by month, by quarter and by year when creating a parameter? thanks!
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 |
---|---|
103 | |
101 | |
87 | |
73 | |
67 |
User | Count |
---|---|
116 | |
109 | |
94 | |
79 | |
72 |