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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Nivedita
Regular Visitor

Plotting graph.

Hello,

 

So, below is a graph, where I'm plotting the ARR for every month of a particular year. I put the years in a slicer. When I don't select any of the options in the slicer, the graph adds up all the data from January, February, march..and so on of each year and plots them. How do I show the latest year's data when nothing is selected?

 

Nivedita_0-1614068863711.png

 

Nivedita_1-1614069045898.pngNivedita_2-1614069064443.png

 

Thanks in advance.

1 REPLY 1
amitchandak
Super User
Super User

@Nivedita , You have create a column like this in you date/year table and mark that as selected

 

 

Year Type = Switch( True(),
year([Date])= year(Today()),"This Year" ,
Format([Date],"YYYY")
)

 

or

 

Year Type = Switch( True(),
([Year])= year(Today()),"This Year" ,
[Year]
)

 

refer : https://www.youtube.com/watch?v=hfn05preQYA

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.