Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

power bi dax expression

Forum home » Delegate support and help forum » Microsoft Power BI training and help » Power BI DAX expression help

Power BI DAX expression help

ResolvedVersion 365

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

 

Training courses

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
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Power BI tip:

Master DAX (Data Analysis Expressions)

DAX is the formula language used in Power BI for creating custom calculations and aggregations. Invest time in learning DAX to unlock the full potential of Power BI. Understand functions like CALCULATE, FILTER, and SUMX, as they are fundamental for creating complex calculations and measures.

View all Power BI hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.