Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
tridino
New Member

How to get a YoY % Change Column added to a matrix?

Hi everyone,

 

I'm new to PowerBi, so please forgive the lack of knowledge here.  I have the following table, which is a summation of inventory items sold.  I would like to add another column added labelled 'YoY % Change' which simply does a percentage change calculation of the different Quarters between the two years.  For example, the % Change of 394 from Q1 2024 and 361 of Q1 2025.

 

What is the easiest way to do this, considering this matrix is a summation of data? 

 

tridino_0-1750880341023.png

Thank you.

 

1 ACCEPTED SOLUTION
v-prasare
Community Support
Community Support

Hi @tridino,

 

As @MasonMA mentioned above, Can you please share the sample data ?

 

 

 


Thanks,

Prashanth Are

MS Fabric community support


If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

View solution in original post

8 REPLIES 8
v-prasare
Community Support
Community Support

Hi @tridino,

We haven't heard back from you. Can you please let me know if your issue got resolved or you are still looking for any assistance here.

 


Thanks,

Prashanth Are

MS Fabric community support


If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

v-prasare
Community Support
Community Support

Hi @tridino,

 

As @MasonMA mentioned above, Can you please share the sample data ?

 

 

 


Thanks,

Prashanth Are

MS Fabric community support


If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

v-prasare
Community Support
Community Support

Hi @tridino,

We would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.


@MasonMA , thanks for your prompt response.


Thanks,

Prashanth Are

MS Fabric community support
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

I was not able to get to work.

@tridino If your data is not restricted you can share a sample or part of it so we can have a look:) 

MasonMA
Solution Sage
Solution Sage

Hi @tridino 

 

No problem and thanks for the contexts. There are different ways to create Date table, either through Power Query or Power BI. I would suggest you create it in Power Query by following this video from Bas, 

https://www.youtube.com/watch?v=MhC4zj2byBQ

 

Once your Date table is created, build a one (Date) to many (fact table) relationship so your Date table can filter your fact table. In the meantime, mark this as your Date table (Under Table tool, Calendar)

 

If your Total is an implicit measure as you mentioned in your message, i'd suggest you create a calculated measure by simply aggregating it, TotalMeasure = SUM(TableName[Total]),

 

With all the above done, you can create that earlier YOY% measure i provided to you in the last message and use it in your report:) 

MasonMA
Solution Sage
Solution Sage

Hi, if your Total is already an explicit measure and you have a proper Date table with relationships (suppose your Fiscal year and Fiscal quarter both come from your Date table and it has been marked as Date table), then try this measure below 

YoY % Change  = 
VAR PrevYear =
    CALCULATE (
        [Total],
        SAMEPERIODLASTYEAR ( 'Date'[Date] )
    )
RETURN
DIVIDE ( [Total] - PrevYear, PrevYear )

 

Hi Mason, can you provide step-by-step for creating the Date Table with relationships and creating the measure? Thank you, I'm very new to data analysis with Power Bi.  My Totals columns are not calculated with any formula - my data set is about 9000 rows and it's just a count of the values by using a matrix table on the Report View. Here's an example of how it's structured:

tridino_0-1750887538020.png

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.