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.
Hi Experts,
data set is like below.
and i pivot this tables in power query as below. How could i get the amount value with Volumn*Price(with every records multiple)? Please help.
Solved! Go to Solution.
Hi,
I am not sure how your datamodel looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
If fixing the table structure is not allowed, the below may be the one of many ways to solve this.
Volume X Price: =
SUMX (
VALUES ( 'Calendar'[Year-Month sort] ),
CALCULATE ( SUM ( Data[Value] ), Data[KPI] = "Volume" )
* CALCULATE ( SUM ( Data[Value] ), Data[KPI] = "Price" )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
I am not sure how your datamodel looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
If fixing the table structure is not allowed, the below may be the one of many ways to solve this.
Volume X Price: =
SUMX (
VALUES ( 'Calendar'[Year-Month sort] ),
CALCULATE ( SUM ( Data[Value] ), Data[KPI] = "Volume" )
* CALCULATE ( SUM ( Data[Value] ), Data[KPI] = "Price" )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Thanks.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |