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.
"C:\Users\priya\OneDrive\Sample File.pbix"
Hello,
I am trying to create a variable - 2600PPM which is a basically a division from two sub tables i created. I used the following DAX command -
Solved! Go to Solution.
Hi @mallap849
If you cannot get @amitchandak's to work, try to break it down one step further by creating two independent sum measures, followed by the divide. For example:
1. Sum 1 = SUM ( Table1[Column] )
2. Sum 2 = SUM ( Table2[Column] )
3. Divide = DIVIDE ( [Measure 1] , [Measure 2] , 0 )
Your output should be like below:
Importantly, ensure your column format is value (i.e. Whole Number / Decimal).
Hope this helps.
Theo
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
Hi @mallap849
If you cannot get @amitchandak's to work, try to break it down one step further by creating two independent sum measures, followed by the divide. For example:
1. Sum 1 = SUM ( Table1[Column] )
2. Sum 2 = SUM ( Table2[Column] )
3. Divide = DIVIDE ( [Measure 1] , [Measure 2] , 0 )
Your output should be like below:
Importantly, ensure your column format is value (i.e. Whole Number / Decimal).
Hope this helps.
Theo
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
Really glad it worked for you, @mallap849!
If at all you get stuck in the future, do not hesitate to reach out.
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
@mallap849 , The link you posted above will not work.
Yoir calculation should work across common dimesion
2600 PPM = Divide(SUM('VP-Warehouse Exp'[2600CC Exp]),SUM(Mileage[2600 Series]) )
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
"C:\Users\priya\OneDrive\Sample File.pbix"
Hi @amitchandak ,
I have tried to reattach the file and I used the formula -
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 |
---|---|
113 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |