Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I am trying to add a "+" and/or "-" symbol infront of highlighted metric. The "-" symbol adds automatically it seems however the "+" does not. I have tried using below DAX which works in adding the "+" sign fine but not adding the text "vs last year YTD" section. Any ideas what i need to change to make it work? The final result i need is: +30% vs last year YTD.
PY_YoY_Diff_Intl =
FORMAT (
CALCULATE (
[AY_2021 vs AY_2022 YTD (%)],
CountryMapping[Region_L1] = "International",
'Calendar'[FutureDate] = "Past"
), "+0.0%;-0.0%" & " vs last year YTD")
Solved! Go to Solution.
Hi @adam_macs ,
I recommend that you have that logic on a measure on its own. E.g.
PY_YoY_Diff_Intl =
FORMAT (
CALCULATE (
[AY_2021 vs AY_2022 YTD (%)],
CountryMapping[Region_L1] = "International",
'Calendar'[FutureDate] = "Past"
)
Then place this measure in the format measure:
Proud to be a Super User!
Hi,
You can use IF and FORMAT to achieve this:
Proud to be a Super User!
thanks @ValtteriN , it kind of works, however i dont seem to be able to add the filtering on CountryMapping and FutureDate. Any ideas for a way around this?
Hi @adam_macs ,
I recommend that you have that logic on a measure on its own. E.g.
PY_YoY_Diff_Intl =
FORMAT (
CALCULATE (
[AY_2021 vs AY_2022 YTD (%)],
CountryMapping[Region_L1] = "International",
'Calendar'[FutureDate] = "Past"
)
Then place this measure in the format measure:
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 9 | |
| 9 | |
| 8 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 23 | |
| 18 | |
| 16 | |
| 15 | |
| 14 |