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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
sraj
Responsive Resident
Responsive Resident

Default the current month & year

Hi there,

 

Is it possible to default the current month and year on the BAR graph without making any selections on the slicer? One gentleman did help build two columns but I dont know how to use it on my bar graph...Please advise

 

Column 1

Month Type = Switch( True(),
eomonth([Date],0) = eomonth(Today(),-1),"Last Month" ,
eomonth([Date],0)= eomonth(Today(),0),"This Month" ,
Format([Date],"MMM-YYYY")
)
 
Column 2
Month Year Sort = Format([Date],"YYYYMM")

Capture.PNG
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@sraj , Please find the attached file after signature, Check Date table and Month Type Page. I do not have latest data. So once you choose this month there will no data.

 

 

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@sraj , Please find the attached file after signature, Check Date table and Month Type Page. I do not have latest data. So once you choose this month there will no data.

 

 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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