Forum Discussion
Anonymous
9 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.
Anonymous
9 years agoNot applicable
v-yulgu-msft
Microsoft Employee
8 years agoHi Anonymous,
You can upload your pbix file on onedrive and attach the shared link here.
Regards,
Yuliana Gu
- Anonymous8 years agoNot applicable
- Ashish_Mathur8 years ago
Super User
Hi Anonymous,
Try this
=min(DFMORDERTEMPLATES[AMOUNT])*[TOTAALBETALENDLEDEN]
Hope this helps.
- Anonymous8 years agoNot applicable
Hi Ashish_Mathur,
thanks for your response. Unfortunatly it didnt work.
Please see the image below. The MIN function only accepts a column reference as an argument.