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

Bar graph showing data by quarters for the current year and then only by years.

I have a maturity profile chart that shows amounts on a yearly basis, however, I would like, for the same year as the date filtered, to show the amounts by quarter. The idea is to get something like this. 

 

jtemes_0-1619049169960.png

Thank you all for your help

2 REPLIES 2
amitchandak
Super User
Super User

@jtemes , Create a new column in your date table like and use that in visual

 

Display = if(year(today()) = Year([Date]) , "TRIM " &format([Date], "Q YYYY"), format([Date],"YYYY"))

 

Sort the above on

Display Sort = if(year(today()) = Year([Date]) , year([DAte])*100 + quarter([Date]), year([DAte])*100)

I am struggling in sorting the Display column. Can you please help on how to do this?

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.