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.
Hello, i want use two measure as interval to filter another visual. First measure return the initial date, and the another, a final date.
These measures comes from the first and the last monitoring date, using segmentation filter on page for select the local. Diferent locals, diferents results.
It shows all the dates when it rained, must show the dates where rained between first and last monitoring. Like this:
At the side bar Filters, i can't use measure as filters.
I tried create another table using this DAX:
IntervaloChuvaFen =
FILTER('pluviometer_monitoring_list',
'pluviometer_monitoring_list'[Date_short] >= [Min Fen] &&
'pluviometer_monitoring_list'[Date_short] <= [Max Fen]
)
But goes wrong and do not showed the correct interval. Any idea?
Create a new measure like
Date is visible =
VAR ReferenceDate =
SELECTEDVALUE ( 'pluviometer_monitoring_list'[Date_short] )
RETURN
IF ( ReferenceDate >= [Min Fen] && ReferenceDate <= [Max Fen], 1 )
and use that as a visual level filter, to only show when the value is 1.
Works!! Thanks a lot
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
97 | |
80 | |
67 | |
63 |
User | Count |
---|---|
145 | |
111 | |
104 | |
84 | |
64 |