Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
@91asma2 , Better two use those from two independent date table or at least one
You can use month, qtr , year or date from these two slicers from two independent table and a measure like this should work
Two period range =
var _max = maxx(allselected('Date2'), 'Date2'[Date])
var _min = minx(allselected('Date1'), 'Date1'[Date])
return
calculate(sum(Table[value]) ,filter(Table, Table[Date] <=_max && Table[Date]>=_Min))
Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI
@91asma2 , Better two use those from two independent date table or at least one
You can use month, qtr , year or date from these two slicers from two independent table and a measure like this should work
Two period range =
var _max = maxx(allselected('Date2'), 'Date2'[Date])
var _min = minx(allselected('Date1'), 'Date1'[Date])
return
calculate(sum(Table[value]) ,filter(Table, Table[Date] <=_max && Table[Date]>=_Min))
Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
25 | |
18 | |
18 | |
18 | |
17 |
User | Count |
---|---|
34 | |
25 | |
18 | |
16 | |
13 |