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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.