Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
NDG
Frequent Visitor

Average based on columns

Good day,

 

 Will need help as I’m new with DAX. How I can get average measure based on measure output whereas condition to be used different columns entries.

 

Exs.

 

Table 1 as condition to be Sales Product Category

Table 2 as condition to be Plant

Table 3 as condition to be Order date

And average to be from Measure from Table 3.

 

Table 1     Table 2         Table 3             Measure

Film            ANT            9/1/21                     3

Film            BTM           9/1/21                      4

Paper         ANT            9/1/21                      5

 Film            ANT           9/3/21                     5              

 

Thank you all for your support 

 

 

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @NDG ,

You can try this measure to calculate the average:

Average = 
VAR tab =
    SUMMARIZE (
        'Table 1',
        'Table 1'[Sales Product Category],
        'Table 2'[Plant],
        'Table 3'[Order date],
        "A", [Measure]
    )
RETURN
    AVERAGEX ( tab, [A] )

vyingjl_0-1631240990861.png

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
v-yingjl
Community Support
Community Support

Hi @NDG ,

You can try this measure to calculate the average:

Average = 
VAR tab =
    SUMMARIZE (
        'Table 1',
        'Table 1'[Sales Product Category],
        'Table 2'[Plant],
        'Table 3'[Order date],
        "A", [Measure]
    )
RETURN
    AVERAGEX ( tab, [A] )

vyingjl_0-1631240990861.png

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

NDG
Frequent Visitor

Thank you @v-yingjl 

lbendlin
Super User
Super User

Power BI visuals have built-in aggregations - measures are not required.  

 

lbendlin_0-1631069993339.png

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.