98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Power BI training and help » Power BI DAX expression help
Power BI DAX expression help
Resolved · Medium Priority · Version 365
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
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Power BI tip:Data Cleaning and TransformationEnsure your data is clean and well-structured before importing it into Power BI. Use Power Query Editor to clean and transform your data. This tool allows you to perform various operations like filtering, merging, and reshaping data, ensuring it's in the right format for analysis. |