cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
venal
Memorable Member
Memorable Member

Bar chart help for latest quarter selection

Hi Team,

 

Hope all are doing well.

 

Need small help, I have a data with 3 columns FiscalYear,Generation,Value and in that I have future dates data. But i want to highlight the latest quarter data in bar chart and rest of others are dark color. This activity need to be done dynamically, Ex:- Currenctly the quarter is FY22-Q3 (Oct-Dec), In Jan automatically it will change the bar in visual and it needs to highlight FY22-Q4.

 

Thank you in advance.

 

@venal 

2 REPLIES 2
mahoneypat
Super User
Super User

You could write a measure to detect if it is not the current quarter and provide an override dark color, but you would then have to provide color values for each generation in the current quarter (with a hard-code list of colors).  Alternatively, you could provide a hard-coded list of colors for each generations and change the transparency value based on whether it is the current quarter or not (e.g., #118DFF50 vs #118DFF).

 

Or you could use the Charticulator visual where you could dynamically set the Opacity of the fill color based on if it is the current quarter or not.

 

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


venal
Memorable Member
Memorable Member

venal_0-1634901052503.png

 

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors