cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nisha_deepak
Helper III
Helper III

Date for start and end date showing issue

i have a report which is created using table.In that filter i used  a relative date filter.Capture.PNG

 

IIn the above table i want to add two new column which should be like this.

 

Capture1.PNG

 

ie, start and end column value should be based on relative filter start and end date ...I tried to add measure with function firstdate and lastdate function of power bi...But its not working for table report...plse help...

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@nisha_deepak , Try new measures like

 

End = maxx(allselected('Date'),'Date'[Date])


Start = minx(allselected('Date'),'Date'[Date])



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@nisha_deepak , Try new measures like

 

End = maxx(allselected('Date'),'Date'[Date])


Start = minx(allselected('Date'),'Date'[Date])



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors