Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Ankit777
Frequent Visitor

Max year Sales

Hi All

I have yearly sales data. In a KPI chart I want to show max year sale when nothing is selected in year filter. Once the year is selected, I want to show that year sales in the chart. How can I do that?

Please help!

 

Thanks 

Ankit

1 REPLY 1
DoubleJ
Solution Supplier
Solution Supplier

Hi

 

Not quite sure whether I understand your question correctly.

 

Given a table with columns "Year" and "Sales". In the KPI visual you can simply use the Sales as Indicator and Trend axis. You can additionaly switch the trend axis off to hide it (as it does not have a meaningful value in this case).


KPI visual set upKPI visual set upHide trend axisHide trend axis

 

No year selectedNo year selectedOne year selectedOne year selected

 

Is this what you are trying to achieve?

 

Hope this helpls!

JJ

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.