Forum Discussion
Anonymous
8 years agoNot applicable
How to calculate two columns based on Excel formula?
Hi guys, I am a PowerBI noob and i would like to have your help. I have a table that with different price group called Group A Each row on Group A has a different price which are inserted in co...
- 8 years ago
Hi Anonymous,
Try this calculated field formula
=if(HASONEVALUE(DFMORDERTEMPLATES[AMOUNT]),min(DFMORDERTEMPLATES[AMOUNT])*[TOTAALBETALENDLEDEN],SUMX(SUMMARIZE(DFMORDERTEMPLATES,DFMORDERTEMPLATES[AMOUNT],"ABCD",min(DFMORDERTEMPLATES[AMOUNT])*[TOTAALBETALENDLEDEN]),[ABCD]))
Hope this helps.
v-yulgu-msft
Microsoft Employee
8 years agoHi Anonymous,
If [price group A] is a column, and [C] is a measure, you only need to create a measure like below to calculate the multiply value.
Total = SUM(Table1[Price Group A])*[C]
To help us better understand your scenario, please provide detailed data in source table and show us all necessary formulas you have used in this report.
Regards,
Yuliana Gu
- Anonymous8 years agoNot applicable
- v-yulgu-msft8 years ago
Microsoft Employee
Hi Anonymous,
You can upload your pbix file on onedrive and attach the shared link here.
Regards,
Yuliana Gu- Anonymous8 years agoNot applicable