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
Raki39
Frequent Visitor

display values till current month-1

Hi,
I have a requirement where I need to display values till current month-1( if the month is march, I have to show all the values till feb including all the previous values). In this case, I have all the data in a single table with composit key(no unique values wrt any column)  and the challenge is I can't use any Time Intelligence function as there is no seperate date table available and is a live connection( no access to data model)
is there any way to acheive this requirement?

 

Thanks in Advance!
Raki

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Raki39 , One is a relative date slicer, if that can work

or create measure like

calculate([Measure], filter(Table, Table[Date] <=eomonth(today(),-1))

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Raki39 , One is a relative date slicer, if that can work

or create measure like

calculate([Measure], filter(Table, Table[Date] <=eomonth(today(),-1))

Perfectly worked for my requirement.
Thankyou!! for the solution @amitchandak 

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.