Forum Discussion
Sum measure fixed on a single date
- 6 years ago
Hi,
Please change original measure to this:
Sum Current IL5 Saving =
IF (
TODAY () >= MIN('Calendar_A110'[Date]) && TODAY() <= MAX('Calendar_A110'[Date]),
CALCULATE (
SUM ( FRAS[Saving Adj] ),
ALLEXCEPT (
FRAS,
FRAS[Object],
FRAS[REGION],
FRAS[Cell],
FRAS[Cell Label],
FRAS[PCR_Category],
FRAS[labels],
FRAS[PROJECT],
FRAS[Responsible Group Merged],
FRAS[status],
FRAS[IL-Level (Adjusted)],
FRAS[Concluded Milestone],
FRAS[Plan],
FRAS[Waiting List]
),
FRAS[PCR Status] <> "Dropped",
FRAS[IL-Level (Adjusted)] = "IL5"
) / 1000,
BLANK ()
)
And the result does not display due to your page filter and today’s data does not meet this filter.
In order to show the result, I temporarily remove this page filter to test.
I have kept the date hierarchy and now the result shows:
Best Regards,
Giotto Zhi
Move your filter inside the calculation and Try
CALCULATE( SUM(FRAS[Money]);
ALLEXCEPT(FRAS; FRAS[Object]; FRAS[REGION]);
FRAS[Status] <> "Closed";
FRAS[Category] = "IL1", filter(Calendar,Calendar[Date] = TODAY();)
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970
https://community.powerbi.com/t5/Community-Blog/Power-BI-Working-with-Non-Standard-Time-Periods/ba-p/881739
https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601
- GabrielFz6 years agoFrequent Visitor
Hello, amitchandak
Thanks for the feedback!I have tried the formula you sent and, unfortunatelly, it not worked 😕
No data is shown on the chart.- amitchandak6 years ago
Super User
To help you further I need pbix file. If possible please share a sample pbix file after removing sensitive information.Thanks.
My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970- GabrielFz6 years agoFrequent Visitor
amitchandak
There is an example of the file on the following link:
https://drive.google.com/file/d/1wvAGq-1eRoTGINsgf2oLcFppREBz87lw/view?usp=sharingHope it helps.
Thanks in advance!