Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi All,
I have 3 tables "a", "b" and "c". The "a", "b" table have one common column and "b", "c" table have one common column. If in the filter pane i selected one value of common column in "a" table should be filter in "c" table. But I don't want to create a relationship between these tables only Measure can be done this scenario. Please help me.
Thanks in Advance.
Solved! Go to Solution.
Hi @Prakash1050,
It seems like I shared the wrong formulas, you can take a look at the following formulas that I fixed the wrong part and modify with the field name that you shared to get calculation result from Dax condition filters without really relationship mappings.
formula =
VAR idList =
CALCULATETABLE (
VALUES ( TableB[Entity ID] ),
FILTER ( ALLSELECTED ( TableB ), TableB[Key] IN VALUES ( TableA[Key] ) )
)
RETURN
CALCULATE (
SUM ( TableC[Value] ),
FILTER ( ALLSELECTED ( TableC ), TableC[Entity ID] IN idList )
)
Regards,
Xiaoxin Sheng
Hi @Anonymous ,
This measure is not correct i clearly mention in the below kindly help me.
I need DAX Measure for not creating relationship and get the answer.
I have 3 Tables A, B, C.
A table have BU, Composite and Key columns.
B table have Key, Entity ID and Fam ID.
C table have Entity ID and Value.
A table key column and B table key column are common column.
B table Entity ID column and C table Entity ID column are common column.
I need DAX for in the filter pane if A table key column selected the B table key column also filterd as well as B table key column direct to the B Table Entity ID Column also filtered and the same Enitity ID in C table column also filterd and get the Value Column answer.
I hope this scenario you understand please help me to acheive this DAX.
Hi @Prakash1050,
It seems like I shared the wrong formulas, you can take a look at the following formulas that I fixed the wrong part and modify with the field name that you shared to get calculation result from Dax condition filters without really relationship mappings.
formula =
VAR idList =
CALCULATETABLE (
VALUES ( TableB[Entity ID] ),
FILTER ( ALLSELECTED ( TableB ), TableB[Key] IN VALUES ( TableA[Key] ) )
)
RETURN
CALCULATE (
SUM ( TableC[Value] ),
FILTER ( ALLSELECTED ( TableC ), TableC[Entity ID] IN idList )
)
Regards,
Xiaoxin Sheng
Hi @Anonymous
Thank you so much this measure is working correctly.
Hi @Prakash1050,
It seems like you want to achieve two step filter effect without real relationship mappings, you can take a look at me following measure formula if it helps:
formula =
VAR list =
CALCULATE (
SUM ( TableB[Column2] ),
FILTER ( ALLSELECTED ( TableB ), TableB[Column1] IN VALUES ( TableA[Column1] ) )
)
RETURN
CALCULATE (
SUM ( TableC[Value] ),
FILTER ( ALLSELECTED ( TableC ), TableC[Column2] IN list )
)
Regards,
Xiaoxin Sheng
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |