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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.