Forum Discussion
Syntax for RELATEDTABLE to combine different tables
- 4 years ago
Anonymous try this:
SUMMARIZE( FILTER( 'Transaction', 'Transaction'[Is Test Order] = False && 'Source System'[Name] = "Professional" && 'Client'[Is Demo] = False && 'Client'[Is Client Test Mode] = False && 'Transaction Date'[Year] <> BLANK() ), Client[Vertical], Client[Client Id], Client[Client Name], 'Transaction'[Transaction Year], "Measure1" , [Measure1] , "Measure2",[Measure2])✨ Follow us on LinkedIn
Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
Anonymous try this:
SUMMARIZE(
FILTER(
'Transaction',
'Transaction'[Is Test Order] = False &&
'Source System'[Name] = "Professional" &&
'Client'[Is Demo] = False &&
'Client'[Is Client Test Mode] = False &&
'Transaction Date'[Year] <> BLANK()
),
Client[Vertical],
Client[Client Id],
Client[Client Name],
'Transaction'[Transaction Year],
"Measure1" , [Measure1] , "Measure2",[Measure2])
✨ Follow us on LinkedIn
Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
- Anonymous4 years agoNot applicable
Hi parry2k,
I have tried in that way, but for some reason, there are no values in the table now.SUMMARIZE(FILTER('Transaction','Transaction'[Is Imported] = False && 'Transaction'[Is Test Order] = False &&SELECTEDVALUE('Source System'[Name]) = "Professional" &&SELECTEDVALUE('Client'[Is Demo]) = False &&SELECTEDVALUE('Client'[Is Client Test Mode]) = False &&SELECTEDVALUE('Transaction Date'[Year]) <> BLANK()),Client[Vertical],Client[Client Id],Client[Instance Name],'Transaction'[Transaction Year],"Measure1",[Measure1],"Measure2",[Measure2])