Forum Discussion
Regarding retrieving data
Actually, in matrix table, I used slicer to filter.When I click certain filter ,its corresponding values(i.e)column 1 value want to be displayed, if selecting all in filter want a value which is apart (i.e)column 2 value want to be display
Hi Uma_Dhandpani ,
You are referring to dynamically changing column displayed by slicer selection, please check below similar posts:
Hi Uma_Dhandpani ,
It seems your description is a little bit different with above post, I've created a pbix based on your question:
Measure = IF ( HASONEVALUE ( 'Table 2'[Currency Mode] ), IF ( SELECTEDVALUE ( 'Table'[Attribute] ) = "BaseAmount", CALCULATE ( MAX ( 'Table'[Value] ), FILTER ( 'Table', [Attribute] = "BaseAmount" ) ) ), IF ( SELECTEDVALUE ( 'Table'[Attribute] ) = "Total amount", CALCULATE ( MAX ( 'Table'[Value] ), FILTER ( 'Table', [Attribute] = "Total amount" ) ) ) )pbix attached.
4 Replies
- v-diye-msftCommunity Support
- Uma_DhandpaniHelper I
The first image denotes the field I have and second , the report to be .Default, it should display the Total_Amount value, when I click on the filter (i.e) dollar/euro/rupee, it should display the Base_Amount value
- v-diye-msftCommunity Support
Hi Uma_Dhandpani ,
It seems your description is a little bit different with above post, I've created a pbix based on your question:
Measure = IF ( HASONEVALUE ( 'Table 2'[Currency Mode] ), IF ( SELECTEDVALUE ( 'Table'[Attribute] ) = "BaseAmount", CALCULATE ( MAX ( 'Table'[Value] ), FILTER ( 'Table', [Attribute] = "BaseAmount" ) ) ), IF ( SELECTEDVALUE ( 'Table'[Attribute] ) = "Total amount", CALCULATE ( MAX ( 'Table'[Value] ), FILTER ( 'Table', [Attribute] = "Total amount" ) ) ) )pbix attached.
- v-diye-msftCommunity Support
Hi Uma_Dhandpani ,
You are referring to dynamically changing column displayed by slicer selection, please check below similar posts: