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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Multi Tables filter

Hi, I'm looking fo a way to solve this little issue. 

 

I have two tables (strategy and price) linked to a third one (category). 

 

I want to get a table on my report of : The average of amount by date and by strategy (look at the picture it will be easier to understand).

 

I have one amount by month.

 

Thanks !

 

The tables : 

Price

-    date Amount

 

-   Amount

 

-   idCategory

 

-   idPrice

 

 

 

Category

-          idStrategy

 

-      idCategory

 

Strategy

-     name of Strategy

 

-       idStrategy

 

Want I want to get :

 

Strategy

Price average

A

158

B

598

C

456

 

Date slicer : 12/05/2019

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

Thanks for your help !

 

 

 

2 ACCEPTED SOLUTIONS
Washivale
Resolver V
Resolver V

Hello @Anonymous ,

 

Create relationship between tables using Manage relationship.

 

Category[idCategory] to Price[IdCategory]

Category[idStrategy] to Strategy[idStrategy]

 

View solution in original post

Hi @Anonymous,
 
Created below using quick measures, check if it helps
 
idPrice average per Date =
AVERAGEX(
    KEEPFILTERS(VALUES('Price'[Date])),
    CALCULATE(SUM('Price'[Amount]))
)

View solution in original post

5 REPLIES 5
Washivale
Resolver V
Resolver V

Hello @Anonymous ,

 

Create relationship between tables using Manage relationship.

 

Category[idCategory] to Price[IdCategory]

Category[idStrategy] to Strategy[idStrategy]

 

Anonymous
Not applicable

Hi @Washivale ,

 

It's already done, i'm just trying to find out how to code my dax measure to get the average of Amount by strategy for each dates. 

 

Thanks for your answer

Hi @Anonymous,
 
Created below using quick measures, check if it helps
 
idPrice average per Date =
AVERAGEX(
    KEEPFILTERS(VALUES('Price'[Date])),
    CALCULATE(SUM('Price'[Amount]))
)
Anonymous
Not applicable

Thanks @Washivale , your dax code resolves my issue ! 

 

Thanks for the time you gave me !

Glad that worked!

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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