Forum Discussion
AlanP514
4 years agoPost Patron
Dynamic Value
Hai Guys Need help on this. Requirement I Have a Year slicer and a group slicer( Two slicers) year slicer are have the different years from 2018 to 2022 In the target table, the year column only h...
Jihwan_Kim
4 years agoSuper User
Target based on a condition: =
IF (
HASONEVALUE ( Data[Group ] ),
SWITCH (
TRUE (),
ISFILTERED ( 'Group'[Group ] ) && ISFILTERED ( 'Year'[Year] ), SUM ( Data[Target] ),
NOT ISFILTERED ( 'Group'[Group ] ) && ISFILTERED ( 'Year'[Year] ), 0,
10
)
)
AlanP514
4 years agoPost Patron
Hai Jihwan Kim Thanks For the Solution.
But the requirement is something Different I will show you with mock data.
| Target Table | ||
| Group | Year | Target |
| India | 2022 | 3 |
| Japan | 2022 | 3 |
| Russia | 2022 | 3 |
| Ukraine | 2022 | 3 |
| UK | 2022 | 2 |
| FRANCE | 2022 | 3 |
Above attached is my target table.
And Below i am attaching requirement please help me
Thanks