Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Helper IV
Helper IV


Good morning,


I'm wondering if it's possible to have % difference columns in a switch function.


I have this switch function which is returning yearly sales? I would like to add 2 columns showing the % diff from 2020 & 2019.


Screenshot 2021-09-21 070137.pngScreenshot 2021-09-21 065534.png


Thanks in advance.


Super User
Super User

@brinky , if you have date table and year week coming from there. Last year same day week is 1 year behind , which can be used


Year behind Sales = CALCULATE(SUM(Sales[Sales Amount]),dateadd('Date'[Date],-364,Day))

Thanks Amit for your prompt reply, maybe I didn't explain myself well.


This is what I'm trying to add to my yearly sales.


Screenshot 2021-09-21 072410.png

@brinky , If year is column(used in matrix column, you need a hybrid table). Not a direct option, you need alternatives 


Otherwise, use [Measure] and [Change %]  measure as values



if you are looking for a Hybrid display with Matrix Column and measure

vote for Hybrid Table


Thanks Amit, this looks interesting.


As a superuser 😉 just for curiosity are there any altermatives?

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors