Forum Discussion
DuaneF
1 year agoNew Member
Using Slicer end date in Measure
I'm new to Power BI, and still learning. I have created a measure to determine the last selected date from my date slicer. I want to use this date to determine the date that must be used in a sum que...
- 1 year ago
Hi DuaneF Try this:
Total_SOH_Selected_Date = CALCULATE( SUM(Artikelbestand[Cost_Total]), FILTER( ALLSELECTED(Artikelbestand), Artikelbestand[Trans_Date] = [LastSelectedDate] ) )Hope this helps!!
If this solved your problem, please accept it as a solution and kudos!!
Best Regards,
Shahariar Hafiz
shafiz_p
1 year agoSuper User
Hi DuaneF Try this:
Total_SOH_Selected_Date =
CALCULATE(
SUM(Artikelbestand[Cost_Total]),
FILTER(
ALLSELECTED(Artikelbestand),
Artikelbestand[Trans_Date] = [LastSelectedDate]
)
)
Hope this helps!!
If this solved your problem, please accept it as a solution and kudos!!
Best Regards,
Shahariar Hafiz