Forum Discussion
Better Measure options?
- Anonymous6 years ago
Hi Snowy34 ,
Are you want the sum of [222] for each [Warehouse]?
If so, you just need to create a slicer base on [Warehouse] and refer the below measure to modify your measure:
Overall Performance =
VAR a =
CALCULATE (
SUM ( 'Date Table formula'[222] ),
FILTER (
'Date Table formula',
AND (
'Date Table formula'[DayMonthYear] >= 'DOP-055'[Customer Requested Date],
'Date Table formula'[DayMonthYear] <= 'DOP-055'[Depature Date.1] - 1
)
)
)
RETURN
IF ( ISBLANK ( a ), "NA", a )
The result would be shown as below:Hopefully works for you.
Best Regards,
Jay
Good day Anonymous
The issue with that suggestion is my the data on that table is generated using the below column so it doesn't show up in the queries editor.
Hi Snowy34 ,
Are you want the sum of [222] for each [Warehouse]?
If so, you just need to create a slicer base on [Warehouse] and refer the below measure to modify your measure:
Overall Performance =
VAR a =
CALCULATE (
SUM ( 'Date Table formula'[222] ),
FILTER (
'Date Table formula',
AND (
'Date Table formula'[DayMonthYear] >= 'DOP-055'[Customer Requested Date],
'Date Table formula'[DayMonthYear] <= 'DOP-055'[Depature Date.1] - 1
)
)
)
RETURN
IF ( ISBLANK ( a ), "NA", a )
The result would be shown as below:
Hopefully works for you.
Best Regards,
Jay
- Snowy346 years agoHelper III
Thank you Anonymous for helping I got it working the way i want 🙂