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
BTI_Afuentes
Helper I
Helper I

Bar chart Last year vs detail current year

Hi, 

 

Is it possible to have a chart like the one on the image? There is one bar for the previous year (selected year -1) and 4 bars (one per quarte for selected year). All data (dates and sales amount) are on the same table.

 

Thanks,

Angel

Chart exampleChart example

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Based on your description, you want the chart to change dynamically with the selected year. As far as I know, we can't do it at this stage. It can only use the dynamic axis, but now measure can't be used as the axis.

mahoneypat
Employee
Employee

If it were a static chart, you could do it with a calculated column on your Date table.  But to make a dynamic visual (responds to year selection), you likely need to build it with the Charticulator visual so you can use a measure on the axis.

(15) Austin Power BI User Group - Charticulator 101 - YouTube

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


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.