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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
vkisa
Helper II
Helper II

Creating Custom Subrows as Percentage Changes

Hi,

I need to add a subrow that calculates of percentage change for between specific 2 different time periods as below.

 

 

TypeSum of Revenue
Yesterday229,925.28
SDLM196,666.63
Variance11.17
Last 7 days1,348,787.62
7 days SPLM1,325,468.28
MTD4,296,514.29
SPLM4,280,047.93
Variance21.00
YTD13,437,909.68
All54,389,536.48

 

I created the date periods before and they are dynamic by slicers, so I'm happy with this format because there are lots of measures except for Revenue

 

I have tried to create matrix as below but it shows subtotals, it might give a clue,

 

vkisa_0-1712933431302.png

You can find the sample report here:

Sample_report 

 

Thank you,

VK

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Here is the general approach

 

lbendlin_0-1712964499820.png

note that you cannot mix data formats unless you convert everything to to text.

 

View solution in original post

8 REPLIES 8
lbendlin
Super User
Super User

Here is the general approach

 

lbendlin_0-1712964499820.png

note that you cannot mix data formats unless you convert everything to to text.

 

Thank you @lbendlin , but I need to percentage of change for Variance1 and Variance2 levels rather than 1. Is it possible to define a measure on there?

yes, that's what you need to do. Replace the "1"  with the appropriate measure.

I guess, we can not hide the blank Type_General row, while the subrows appear,right? 

correct

Thank you @lbendlin ,

Do you have any idea how can I manage it? 

make the measure return BLANK() for that scenario

 

Can you give an example for this scenario if it is posssible. I couldn't define variance1 and variance2 as %change of date periods and couldn't display blank on the top row.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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