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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hey Guys,
I have the following situation:
I need to calculate the YTD, YTD (Last year),YoY Diff, YoY% for 23 different measures already listed in a matrix, I created a calculation group with 2 calculated items YTD and YTDLY, This works perfectly when adding the CGroup to the matrix as a column
BUT
when i create another calculation item for the YoY Diff and YoY% the matrix breaks and it gives me the error "Cannot convert "#0000000" of type text to number/date"
Here's the measure for the YoY%
Delta YTD Vs SPLY =
VAR _YTD = CALCULATE(SELECTEDMEASURE(),CALENDAR_BY_DAY[IS_YTD] = 1)
VAR _SPLY = CALCULATE(SELECTEDMEASURE(),CALENDAR_BY_DAY[IS_YTD_LASTYEAR] = 1)
RETURN
DIVIDE(_YTD,_SPLY,0)-1
I made sure all my measures are type numbers which is why the first two calculation items work.
Anyways, is what i'm trying to do even possible? What am I doing wrong? Does this only works for one measure?
Appreciate some help here, thanks.
Hello! Calculation Groups can have many measures. Also, make sure your date table is marked as a date table. Try below:
YoY% =
Proud to be a Super User! | |
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 108 | |
| 106 | |
| 39 | |
| 33 | |
| 25 |