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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Gwen
Helper II
Helper II

comment filtrer plusieurs éléments sur 2 bases

Bonjour,

J’ai des personnes qui ont plusieurs activités (IA = Seller et INTERVENANT = Consultant)

la base r_cdr(2) pour les donnees quand INTERVENANT

la base r_cdr pour les données IA

 

 

les 1eres réponses m’ont permis de faire une table de jointure

Manager = distinct(UNION(DISTINCT(SELECTCOLUMNS('r_cdr',"intervenant ,..

J’ai aussi besoin de filtrer l’année « ANNEE PROD » même fonctionnement dans les 2 tables de données

 

Merci d’avance

Gwen_0-1625806904125.pngGwen_1-1625806957564.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Gwen , why both middle/master table has many to many join.

If needed you can create a combinevalues  (function) for manage and year on both facts and dimension table and try to create 1-M join single direction.

 

Also why the year has M-M , it should have distinct years.

 

Can you share a sample pbix after removing sensitive data.

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

Hi @Gwen,

I'd like to suggest you take a look at the following link to use star schema to rebuild your table relationships. (you can create some dimension table with fact table uniuqe key and use them as the bridge to link tables)

Understand star schema and the importance for Power BI - Power BI | Microsoft Docs

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User
Super User

@Gwen , why both middle/master table has many to many join.

If needed you can create a combinevalues  (function) for manage and year on both facts and dimension table and try to create 1-M join single direction.

 

Also why the year has M-M , it should have distinct years.

 

Can you share a sample pbix after removing sensitive data.

Hello Could you please tell me how I can share the base?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.