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.
Hi,
I have a date filter in the visual that can select min date and max date. If i select the min and max date, that visual should filter min date to Max date - 1. Please advise.
Thanks
Vinoth
Solved! Go to Solution.
@Vinothsusai , Try like
Period =
var _max =maxx(allselected(date),date[date]) -1
var _min =minx(allselected(date,date[date]))
return
CALCULATE(SUM(Sales[Sales Amount]),filter(all(date),date[date]=_max || date[date]=_min))
@Vinothsusai , Try like
Period =
var _max =maxx(allselected(date),date[date]) -1
var _min =minx(allselected(date,date[date]))
return
CALCULATE(SUM(Sales[Sales Amount]),filter(all(date),date[date]=_max || date[date]=_min))
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 |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
101 | |
86 | |
64 |