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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.