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
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
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.