Forum Discussion
IF Formula Calculated Column
- Anonymous4 years ago
Hi Julius410 ,
You could create a dynamic measure to display the budget value.
Before you create the measure, create a table with the following values for the slicer.
You can create it by entering data.
Then create the measure.
Budget value = SWITCH ( SELECTEDVALUE ( 'For Slicer'[Budgeted] ), "Budgeted", CALCULATE ( SUM ( 'Table'[Budget] ), FILTER ( 'Table', [Budget] > 0 ) ), "Budget N/A", BLANK () )Here's the results. When you select 'Budgeted' in the slicer,
When you select 'Budget N/A' in the slicer,
Hope to help you.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous
Thanks so much for your extensive reply and the detailed explantion.
Your solution is getting close. However, it's still not exactly what I wanted. The problem is that the number initiatives stay the same regardless of which filter is selected. Please see below the screenshot for slicer "Budgeted":
Please see below screenshot for slicer "Budget N/A":
I would like the initiatives that do not have a budgeted value against them filtered out when I select "Budget N/A".
Do you think that this is possible?
Thanks.
Julius