Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Everyone,
I am trying to create one divide column. I created the Load calculated column as I need to do. Secondly, I use filter to create Pallets column. Now I want to divide the Pallets to Load. I am getting wrong answer.
If anyone can help will be appreciated. I have "PK" which I try to use as filter but it still not resolve.
Thanks
Solved! Go to Solution.
@Anonymous , formula seems correct, Assume both Pallets and load are measures not column and the new formula is also measure
if they are column then it should be
= Divide(sum(Table[Pallets]),Sum(Table[load]))
@Anonymous - Need to know if these are columns or measures. Need the calculations for the measures.
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882
Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.
@Anonymous , formula seems correct, Assume both Pallets and load are measures not column and the new formula is also measure
if they are column then it should be
= Divide(sum(Table[Pallets]),Sum(Table[load]))
They both are calculated measure.
@Anonymous , the final divide should be measure. I am not able to see your calculation. Can you post all that in text format?
Can you share sample data and sample output in a table format? Or a sample pbix after removing sensitive data.
Now is working.
Thanks
Amjad
| User | Count |
|---|---|
| 56 | |
| 42 | |
| 30 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 71 | |
| 59 | |
| 39 | |
| 22 | |
| 22 |