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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Sebascp
New Member

How to deduct cents from a rate column and the multiply that value for a total volume in Power BI?

Hi Group,

 

I’m new to Power BI and I’m trying to replicate from Tableau the below formula into Power BI.

 

Can anyone please tell me how to create a measure in Power BI for the below formula?

 

Formula in Tableau:

 

Table Name:

Bpay_Biller

Columns:

DR Chg Rate

Debit Account Volume

 

(0.88 - [DR Chg Rate]) * [Debit Account Volume]

 

Thanks for your help ☺️!

1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

Hi @Sebascp ,

You can create a measure as below to get it, please find the details in the attachment.

Measure = 
( 0.88 - SUM ( 'Bpay_Biller'[DR Chg Rate] ) )
    * SUM ( 'Bpay_Biller'[Debit Account Volume] )

yingyinr_0-1666682786643.png

If the above ones can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Community Support Team _ Rena
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
v-yiruan-msft
Community Support
Community Support

Hi @Sebascp ,

You can create a measure as below to get it, please find the details in the attachment.

Measure = 
( 0.88 - SUM ( 'Bpay_Biller'[DR Chg Rate] ) )
    * SUM ( 'Bpay_Biller'[Debit Account Volume] )

yingyinr_0-1666682786643.png

If the above ones can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
daXtreme
Solution Sage
Solution Sage

No answers? Well, before posting your first question it's worth reading this: How to Get Your Question Answered Quickly - Microsoft Power BI Community

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors