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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mjg30aus
New Member

Usage for Origional Product then wish to find the Total new Price if Alternative Product Purchased

Hi there New to this

 

I have a catalouge with the same products data duplicated but called Catalogue and Switch Catalogue

 

I have the spend data for my customer but i want to create 

 

The Origional Product Code with the Usage and Total Spend (Easy Done)

Then a matched alternative code with each price but to calculate the Spend Based on the Orional Product Usage but with the new Product Sell Price?

The i want to see the Difference between Old Code Total Sales and New Product Total Sales, and then have the Table Totals to be correct with this new Column?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @mjg30aus 

Based on your needs, I have created the following table.

vjialongymsft_0-1727251495992.png


You can use the following dax to get the result you want:

Category Cost = [Catalogue Price]*[Usage]

 

Switch Category Cost = [Switch Catalogue Price]*[Usage]

 

Difference = SUM('Table'[Switch Category Cost])-SUM('Table'[Category Cost])

 

Result:

vjialongymsft_1-1727251615499.png

 

 

 

 

 

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @mjg30aus 

Based on your needs, I have created the following table.

vjialongymsft_0-1727251495992.png


You can use the following dax to get the result you want:

Category Cost = [Catalogue Price]*[Usage]

 

Switch Category Cost = [Switch Catalogue Price]*[Usage]

 

Difference = SUM('Table'[Switch Category Cost])-SUM('Table'[Category Cost])

 

Result:

vjialongymsft_1-1727251615499.png

 

 

 

 

 

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Sounds good. What have you tried and where are you stuck?

 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.