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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
JB505
Frequent Visitor

Adding Actual and Target rows to the same column with Hybrid Column Matrix

I'm trying to create a hybrid matrix and running into a problem when it comes to actual and target values. I want them shown in the same column on two different rows. Essentially, I'm trying to create a bowler report in power bi.

Similar to the look of this. Where I can add conditional formatting to each cell for actual/target.

JB505_0-1673470790904.png

 

Here is where I'm at with my hybrid matrix.

JB505_1-1673470844419.png

 

Here is what I'd like it to look like, with actual/target in same column. Where rolled up the kpi would show an average of each of the corp_codes and rolled down, it shows each individual location.

 

JB505_2-1673470912225.png

 

Here are screen shots of the sample data.

Model

JB505_0-1673471771988.png

 

Test Table

JB505_1-1673471806843.png

 

Hybrid Table

JB505_2-1673471840036.png

 

EDIT: Added link to the file.

KPI_Test.pbix 

 

EDIT: Added an additional work around for this in a reply below, but would still need a solution for it.

 

Hope this is possible. Any help is appreciated.
8 REPLIES 8
JB505
Frequent Visitor

Another option that might work is this. However, is there a way to remove actual/target/py from KPI Level, Status and Owner? Scenario is just a table with actual/target/py. If anyone knows how to limit secondary column values to certain primary columns in a hybrid matrix please let me know.

 

JB505_0-1673575990296.png

 

bolfri
Solution Sage
Solution Sage

Can you use a https://wetransfer.com/ to give us you PBI file with sample data that you put in this post or sample data in version that we can copy and pase (not image)? 🙂





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




JB505
Frequent Visitor

Hope this works. Let me know if you are able to open the pbix file.

 

https://we.tl/t-g0pEWzOK0l

Can you tell me why do you want to create that hybrid table? Woudn't it be easier for you to use Matrix visual and addapt it to your needs? Like this:

 

bolfri_0-1673481534528.png

Actual and Target are meaures:

Actual = CALCULATE(AVERAGE(TEST[periodic]),TEST[scenario]="Actual")
Target = CALCULATE(AVERAGE(TEST[periodic]),TEST[scenario]="Target")
 
and the other columns comes from TEST table except period_name that comes from Dim_Calendar.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




JB505
Frequent Visitor

Hi Bolfri,

 

Thanks for trying to assist with this request.

 

The reason for the hybrid table is because additional columns are needed.

 

KPI Level - As each layer is expanded, we need to know what kpi level that row sits at.

Status - This column is just going to be a conditional cell that shows Green if we are at/above the target based on all months showing.

Owner - This column is going to show who is responsible for that "Row" or layer of data.

Scenario - This was to show Actual and Target.

 

If I didn't use a hybrid table, how else could I include the above columns without adding them to the row field? Maybe there's an easier solution that I'm just not seeing.

Let's focus on one of them. How are you defining a owner? Do you have a eg. table with string of name with assigned corp_code? If yes - then you can just simple include that in the table without a problem. 

bolfri_0-1673485220756.png

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




JB505
Frequent Visitor

So using owner as an example. Yes there will be a table with owners being related to corp_code. However, there shouldn't be another drilldown to see who that owner is. Drilldowns should only happen when there is a new kpi level. So when the table is rolled up all the way that's level 1, when the next drilldown happens that shows corp_code, that's level 2. If we continue adding those columns to the row field then it will continue adding another layer of drilldown that shouldn't happen.

JB505
Frequent Visitor

So here's an updated example of what it would look like.

 

Rolled up you see the kpi with the level, status, owner, and months

JB505_1-1673487888840.png

 

when rolled down a level, you see how everything shows without having to continue rolling down a level. There should only be a level 1 and level 2.

JB505_0-1673487865892.png

 

Everything else seems to be working, it's just the column that should show actual/target that I can't get to work...

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors