Forum Discussion
Prakash1050
3 years agoHelper III
Need Dax Measure
Hi All, 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...
- Anonymous3 years ago
Hi Prakash1050 ,
Please update the formula of measure as below and check if it can work even though filter the value of field [BU] or [Composite] field in the table A.
Measure = VAR _selkeys = CALCULATETABLE ( VALUES ( 'A'[Key] ), ALLSELECTED('A') ) VAR _entitylist = CALCULATETABLE ( VALUES ( 'B'[Entity ID] ), FILTER ( 'B', 'B'[Key] IN _selkeys ) ) RETURN CALCULATE ( SUM ( 'C'[Value] ), FILTER ( 'C', 'C'[Entity ID] IN _entitylist ) )Best Regards
Prakash1050
3 years agoHelper III
Hi Anonymous
This Measure is worked when i filtered A table Column Key. If filtered BU or Composite in Table A the value showing same value not filtered values
Anonymous
3 years agoNot applicable
Hi Prakash1050 ,
Please update the formula of measure as below and check if it can work even though filter the value of field [BU] or [Composite] field in the table A.
Measure =
VAR _selkeys =
CALCULATETABLE (
VALUES ( 'A'[Key] ),
ALLSELECTED('A')
)
VAR _entitylist =
CALCULATETABLE (
VALUES ( 'B'[Entity ID] ),
FILTER ( 'B', 'B'[Key] IN _selkeys )
)
RETURN
CALCULATE ( SUM ( 'C'[Value] ), FILTER ( 'C', 'C'[Entity ID] IN _entitylist ) )
Best Regards
- Prakash10503 years agoHelper III
Hi Anonymous
This Measure is Working Thank you so much