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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Getting lowest value from filtered dates and using it in measure

Hi! 

I've got a report with one "page-level" filter that works for all my visuals except one. The filter is a date interval with start and end date inputs. The last visual I want to have disconnected from the filters date-interval, and rather have it look at the start date so that I can calculate the starting balance at that start date. 

 

Example. I have filtered from: 1.1.2019 - 31.12.2019 

- All (except last one) visuals show measures within that time interval

- Last measure harvests the start date from the filter and inputs that in a measure calculating ingoing balance up to that point. 

Is there a function to harvest this value from a dynamic filter?

 

3 REPLIES 3
v-yiruan-msft
Community Support
Community Support

Hi @Anonymous ,

Do you want to get the start date of date range in the date field which applied to the page-level filter? For example, the date (2014/5/1) circled round red in the below screenshot is the date you want to get?

start date.JPG

In addition, maybe you can try to use sync slicer and check if it works in your scenario.

 

Best Regards

Rena

 

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

Did not get it> Bit if you looking to get first date from slicer

Measure =

var _min = minx(allselected(Date),Date[Date])

return

calculate([measure1],filter(Date[Date] =_min)

 

 

EricHulshof
Solution Sage
Solution Sage

If i understand correctly you want to use SELECTEDVALUE(Startdate)

 


Quality over Quantity


Did I answer your question? Mark my post as a solution!


Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.