Forum Discussion
kasife
2 years agoHelper V
Validate bridge table
Hi Guys, I created a guide to create a bridge table, but I'm not sure if it's correct. Because this measure ends up giving me all the possibilities between the two dimension tables. What would be ...
- 2 years ago
Total brokers = COUNTROWS(DISTINCT(UNION( SELECTCOLUMNS(Leads,"Broker",[idcorretor]), SELECTCOLUMNS(pastas,"B",[idcorretor]), SELECTCOLUMNS(ccvs,"B",[idcorretor]), SELECTCOLUMNS(Repasses,"B",[idcorretor])))) // distinct count of brokers that are in the tables: Leads, pastas, ccvs and repasses // The tables are related by ID, but the broker count must be by name
kasife
2 years agoHelper V
lbendlinI created a model to try and better show what I would like to achieve. But I have two dimension tables and I need to use both to make some measurements. For example: the sale of each broker per project, the Total of brokers per project. etc...Follow the link below with the file
https://ufile.io/liju6ybx
lbendlin
2 years agoSuper User
Your projects table is not a proper dimension table. Try to normalize it.
- kasife2 years agoHelper V
lbendlin Okay, I'll do that, but Assuming it was normalized, how would I get the result?
- lbendlin2 years agoSuper User
Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.- kasife2 years agoHelper V
lbendlin I tried to do it in a way that can convey what I need. I also tried to adjust the modeling.
https://ufile.io/plitf8og