Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all,
I have a tooltip page which works fine as expetec.
I want a specific measure in that tooltip page that act independed. for instance I want to show sales amout for year 2020 as a tooltip, I have created a measure only getting amounts for 2020
Measure
VAR Total = CALCULATE ( SUM ( 'FACT-Data'[NUMARIC] ), 'DIM-Matrics'[MATRIX_ID] = 9, 'FACT-Data'[YEAR] IN {2020} ) VAR Result = IF ( Total = 0, BLANK (), Total ) RETURN Result+0
Solved! Go to Solution.
Hi @amalrio ,
Try this.
Total_2020 =
VAR Total =
CALCULATE (
SUM ( 'FACT-Data'[NUMARIC] ),
FILTER(
ALL'DIM-Matrics'),
'DIM-Matrics'[MATRIX_ID] = 9),
FILTER(
ALL('FACT-Data'),
'FACT-Data'[YEAR] IN {2020} )
)
VAR Result =
IF ( Total = 0, BLANK (), Total )
RETURN
Result+0
If it is useless, please show sample data.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @amalrio ,
Try this.
Total_2020 =
VAR Total =
CALCULATE (
SUM ( 'FACT-Data'[NUMARIC] ),
FILTER(
ALL'DIM-Matrics'),
'DIM-Matrics'[MATRIX_ID] = 9),
FILTER(
ALL('FACT-Data'),
'FACT-Data'[YEAR] IN {2020} )
)
VAR Result =
IF ( Total = 0, BLANK (), Total )
RETURN
Result+0
If it is useless, please show sample data.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.