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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Syndicate_Admin
Administrator
Administrator

Total Sum on all lines

Well, I'm having trouble doing the following.

I have a table whose rows are types of vouchers, and which has 2 columns, one cost and one sales.

.

What I need is that the sale amount per row is the total and is repeated in all lines, and not just the one corresponding to each line. So in each line you have the type of voucher with its cost and total sales (not just that voucher on the line)

.

Can you help me? Thank you 😌 very much !

2 REPLIES 2
bhelou
Responsive Resident
Responsive Resident

Dear , 

Just create a new column either in power queries or in Data view in poiwer bi Desktop : 

Total = column [ sales ] - column [ cost ] 
//// 
kidnly see if that is the solution , or if not share some samples ( images ) or sample of the file . 

* kindly accept as a solution and a kudo would be gretfull . 
Regards , 

As this is a database direct data model I cannot access power query to create a new column. Is there any alternative created measures or some trick without accessing the power query?

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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