Forum Discussion
sohailstsindia
5 years agoHelper I
select value from one column filter with another column
TABLE NAME srl no srl ref. desc 1 1 a 2 1 b 3 1 c 4 4 a 5 4 b 6 4 c Filter value from srlno search in srl ref.(if...
- 5 years ago
Hi sohailstsindia ,
Please try this:
b = CALCULATE ( MAX ( 'Table'[srl no] ), FILTER ( ALLEXCEPT ( 'Table', 'Table'[srl ref.] ), 'Table'[desc] = "b" ) )c = CALCULATE ( MAX ( 'Table'[srl no] ), FILTER ( ALLEXCEPT ( 'Table', 'Table'[srl ref.] ), 'Table'[desc] = "c" ) )
manikumar34
5 years agoSolution Sage
sohailstsindia , Create relationship srl no and use RELATED function with IF .
https://www.sqlbi.com/daxpuzzle/related-in-a-query/
Regards,
Manikumar
sohailstsindia
5 years agoHelper I
thanks @Manikumar can you please write DAX.