Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi everyone,
when I am using the following measure:
LM Change =
SWITCH(
TRUE(),
ISBLANK([LM CY]) && ISBLANK([LM PY]),
blank(),
DIVIDE(
[LM CY],
[LM PY],
""
)-1
)
I get the following table that outlines last month sales of the current year, it's corresponding sales in the previous year and the percentage change between these two figures per account:
However, when I would like to split each account sales by country by dragging it in the rows-section of the visual,
it says
Can anyone please help me understand and solve this error?
Thank you in advance!
Solved! Go to Solution.
hi @ThomasSan
try like:
Cool, that worked! Thanks a lot!
i guess it is because BLANK() or "" is text, which could not be converted to numaric values.
hi @ThomasSan
try like:
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |