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.
I had created a calculated column for total weight calculation which was (days difference* payment recieved). This calculated column works fine for few rows fetching the correct value on multiplication but few rows the multiplication values do not match. let me share the screenshot for it:
The calculated column is ,
Hi @Avivek ,
You can refer the content in the following links to modify or create measure for getting the correct total values:
Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand
Measure wrong total in Matrix Visual
If the above methods can't resolve your problem, please provide some sample data which applied on the visual and existed relationship if the data from multiple tables.
Best Regard
Rena
Try:
Weight(measure)= CALCULATE(SUMX(RECEIVABLES,RECEIVABLES[Days Diff]* RECEIVABLES[PAYMENT_AMOUNT]))
________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Avivek
The measure works for me, please check your model and the data.
________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Fowmy ,
I tried the same measure but would you know why it is not working for me in the model.
@Avivek
I am not sure how you have adapted the measure. The Weighted Measure (New) is calculating and dividing it by 2 I believe.
________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Yes right, thats the thing. But I do not know why it does so because all the columns from the same table. Then how does it effect few data's and not the rest.
@Avivek
It's hard to make a conclusion unless having a look at your PBIX file, you may share the file removing any confidential information to check.
Thanks
Fowmy
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Thankyou so much @Fowmy but the report connects to live dataset, so its not possible to remove the confidential information alone. But I really appreciate your responses.
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 |
---|---|
14 | |
2 | |
2 | |
1 | |
1 |