The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. 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