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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Anonymous
Not applicable

change data of 1 cell in a table

Hi all,

 

I have a data set that help me to make this summary table like this:

summary.png

I face some issues hope people can help:

 

1/ I need to change the data of EBITA in column "CY" (current year) = External Revenue - Expense.

2/ I need to create another row within Total Hours that show Ultilization rate = chargeable hours/ total hours.

 

Is there a way that I can show these request in a same table? I'm thinking about using SWITCH syntax but not sure whether it could work.

 

Best regards,

1 ACCEPTED SOLUTION
MattAllington
Community Champion
Community Champion

Well, it depends on how you have built what you have got already. I suspect that the technique covered in this video should help you. http://www.youtube.com/watch?v=ojHZkWkEY7Q/

 

Take note of the header table and how Derek switches between running totals and line totals. I think you can use this technique to do what you want. 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Thanks  @MattAllington,

 

The link is quite helpful but it's a bit old since they demonstrate it on Power pivot instead of Power BI. But it really got to the point.

 

I found some useful links that are more relavent to Power BI instead:

https://www.managility.co/profit-loss-dynamic-sub-totals-in-power-bi-excel-dax/

https://www.daxpatterns.com/cumulative-total/

 

Thanks,

 

 

v-shex-msft
Community Support
Community Support

Hi @Anonymous ,

You can refer to following links to know how to use if statement to check current row contents and replace specific level calculation formula:

Measure Totals, The Final Word

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
MattAllington
Community Champion
Community Champion

Well, it depends on how you have built what you have got already. I suspect that the technique covered in this video should help you. http://www.youtube.com/watch?v=ojHZkWkEY7Q/

 

Take note of the header table and how Derek switches between running totals and line totals. I think you can use this technique to do what you want. 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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