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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

How to create combination of static table and measures?

If I would like to have a table of the following format:

 

Values

Sales(avg)

Cost(avg)

Profit

Plan

   

Actual

   

Difference

   

 

Where profit is simply [Sales(avg)]-[Cost(avg)], Sales(avg) is a measure of the average sales over a defined a timed period (e.g. selected by a slicer). Similar for Cost(avg).

 

How is this possible to do whilst keeping the leftmost column static? Any help would be much appreciated, thank you.

9 REPLIES 9
Anonymous
Not applicable

HI @Anonymous,

Measure calculation results are based on its row contents, they will be changed if you do any filter or change category that affects current row contents.

So if you want to keep static results on the measure, please modify your filter conditions with accurate and static values instead of dynamic value based on the current row contents.

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi @Anonymous ,

 

Thank you for your response. The only section that I would like to keep static is the leftmost column. The measures should change dynamically based on some filter condition. They would be measures because they take an average over a predefined time frame. However, it is this mixing of the static left hand column with dynamic measures that I am unsure how to achieve.

Anonymous
Not applicable

Hi @Anonymous,

The filter effect of slicer and 'different level' filter not really affect the data mode table records. Their source data tables are virtual tables generated from data model tables. You can't use child level to effect its parent.

Spoiler

Notice: different data levels in power bi.

query editor(queries and query parameters) -> data model(tables, calculate table/column) -> data view(measure, visuals, filters)

For this scenario, I'd like to suggest you try to use query parameters to effect generated data model tables to achieve dynamic tables.

Regards,

Xiaoxin Sheng

amitchandak
Super User
Super User

@Anonymous 

does the above reply helps. if you need more help make me @

 

Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @amitchandak , thank you I will look at it and I have downloaded it so you can stop the share.

Anonymous
Not applicable

Hi - 

 

Sure, will remove the share. Btw the share was done by me and not by amit. If the solution worked for you, please consider selecting my response as the answer.

 

Regards

E

Anonymous
Not applicable

Hi @Anonymous , apologies. Sadly the share wasn't exactly what I was looking for as your sales and cost columns aren't measures, they are hard coded, static values which is not what I am looking for. But thank you!

Anonymous
Not applicable

Hi there - 

 

I tried something like below... Is this what you were looking for? (please note that I reversed the formula for the Profit though)

 

I apologize for that... Please see the below link:

https://drive.google.com/file/d/1gjSdwBoiSKb0EZjWR1mTq5tpLzC6a_u3/view?usp=sharing

 

Please confirm once you download the file, I will remove the share after that.

 

Regards

E

Anonymous
Not applicable

Hi @Anonymous , I can't see anything below 🙂 

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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