Azum has attended:
Power BI Reporting course
Power BI Modelling, Visualisation and Publishing course
Power BI DAX expression help
Hi there, I want to ask a question regarding DAX expressions in power BI.
I am trying to write this expression, that worked in Qlik Sense, but just need some help converting it into a DAX expression:
sum(Total)*(Average)
where Total and average are fields within the data model.
My DAX is currently:
Size1 = (SUM('Master Invoices'[Total]))*AVERAGE('Savings Ranges by L2'[Average])
but I am not getting the desired result.
Many thanks,
RE: Power BI DAX expression help
Hi Azum,
Thank you for the forum question.
The DAX looks fine
Size1 = (SUM('Master Invoices'[Total]))*AVERAGE('Savings Ranges by L2'[Average])
The DAX will sum all values in the Total column from the Master Invoices table.
sum all values in the Average column from the Savings Ranges by L2 table and divide it with the number of rows you have in the Savings Ranges by L2 table.
And then the two numbers will be multiplied.
Sorry I cannot tell you why you are not getting the desired result.
Kind regards
Jens Bonde
Microsoft Office Specialist Trainer
Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us
London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector