Forum Discussion
Weighted Average
- Anonymous3 years ago
Hi @tomsmith213 ,
You can create another two new measure as below and put these new measures to replace the original measure
[€/UM] and [Costo / UM] separately onto the table visual. Later check if they can return the correct total values...Measure = SUMX ( GROUPBY ( 'Table', 'Table'[Articolo], 'Table'[Dettaglio Doc] ), [€/UM] )Measure 2 = SUMX ( GROUPBY ( 'Table', 'Table'[Articolo], 'Table'[Dettaglio Doc] ), [Costo / UM] )In addition, you can refer the following links to try to solve your problem...
Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand
Dax for Power BI: Fixing Incorrect Measure Totals
If the above one can't help you, could you please provide more raw data in your table 'Project Role Price' (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Hi @tomsmith213 ,
You can create another two new measure as below and put these new measures to replace the original measure
Measure = SUMX ( GROUPBY ( 'Table', 'Table'[Articolo], 'Table'[Dettaglio Doc] ), [€/UM] )Measure 2 = SUMX ( GROUPBY ( 'Table', 'Table'[Articolo], 'Table'[Dettaglio Doc] ), [Costo / UM] )
In addition, you can refer the following links to try to solve your problem...
Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand
Dax for Power BI: Fixing Incorrect Measure Totals
If the above one can't help you, could you please provide more raw data in your table 'Project Role Price' (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards