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
shri0025
Helper II
Helper II

Base On Min Date on Slicer Filter

Hi Please hep me  i am new on Power 

I have a slicer added on the dashboard. In table visual (data coming from transaction table), I want the sales for the previous date to the minimum of SLicer Date. The previous date will be the date on which the salesamount >0.

Sampledata 

 
If Selcted 8 July 2019 min date value THAN Show value 3316 Min Date  8 Jun and  data are coming 7 July  and Max date selected 20 Dec Than value SHow 1472
3 REPLIES 3
lbendlin
Super User
Super User

For this to work you need a disconnected dates table for your slicer, and then a measure that controls which of the rows in your fact table to show.

lbendlin_0-1686535741129.png

 

See attached.

Not Solve this Solution 

 i need This way     Please help me   my slicer date  11 July Selected  data show  12 July nut i need  7 july data show  3316 

shri0025_0-1686548593780.png

 

Change your slicer type to "Before"

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.

Top Solution Authors