The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
I need to add a subrow that calculates of percentage change for between specific 2 different time periods as below.
Type | Sum of Revenue |
Yesterday | 229,925.28 |
SDLM | 196,666.63 |
Variance1 | 1.17 |
Last 7 days | 1,348,787.62 |
7 days SPLM | 1,325,468.28 |
MTD | 4,296,514.29 |
SPLM | 4,280,047.93 |
Variance2 | 1.00 |
YTD | 13,437,909.68 |
All | 54,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,
You can find the sample report here:
Thank you,
VK
Solved! Go to Solution.
Here is the general approach
note that you cannot mix data formats unless you convert everything to to text.
Here is the general approach
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
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.
User | Count |
---|---|
15 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
24 | |
14 | |
13 | |
8 | |
8 |