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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
asdf1608
Helper V
Helper V

Through measure the multiple values are wrong

I am converting the tableau dashboard to power BI. I find this very difficult.

There is a field "Discount" which gets divided by parameter "Parameter 1".

asdf1608_0-1683899081389.png

 

This converted value is multiplied by "Row ID" field. This is the basic concept. This is easily possible in Tableau.

asdf1608_1-1683899116250.png

The result is this

asdf1608_2-1683899142249.png

But in Power BI it is difficult.

I have created the parameter "Unit Conversion" and used that field to get it divided by "Discount".

asdf1608_3-1683899180156.png

This is done in measure since in column multiple values is not possible.

Now to get this multiplied by Row ID

asdf1608_4-1683899267366.png

The result is totally wrong.

asdf1608_5-1683899300754.png

I am not sure of why through measure the simple multiplication is wrong. 

How do I get this correct. 

Help in this is needed.

aaa.pbix

Please work in this power BI. I am not able to figure it out

Thanks in advance

 

1 ACCEPTED SOLUTION
Wilson_
Super User
Super User

Hello asdf1608,

 

This is also easily done in Power BI! 🙂

 

Try this for your measure 2 instead:

Measure 2 = 
SUMX (
    Sheet1,
    [Conversion] * Sheet1[Row ID]
)

 

The reason your original Measure 2 wasn't working is because you wanted the calculation to go row by row, but Power BI doesn't know that unless you use an iterator function (like SUMX); instead of going row by row, multiplying the row ID and conversion together then adding it all up at the end, it was adding up all the row IDs, adding up all the discounts, then multiplying the two numbers together (ie: 1,583.99 * 51963915).

 

Wilson__0-1684094117925.png


----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
Wilson_
Super User
Super User

Hello asdf1608,

 

This is also easily done in Power BI! 🙂

 

Try this for your measure 2 instead:

Measure 2 = 
SUMX (
    Sheet1,
    [Conversion] * Sheet1[Row ID]
)

 

The reason your original Measure 2 wasn't working is because you wanted the calculation to go row by row, but Power BI doesn't know that unless you use an iterator function (like SUMX); instead of going row by row, multiplying the row ID and conversion together then adding it all up at the end, it was adding up all the row IDs, adding up all the discounts, then multiplying the two numbers together (ie: 1,583.99 * 51963915).

 

Wilson__0-1684094117925.png


----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





@Wilson_ Thank you so much

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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