cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

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

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Regarding retrieving data

Hi @Uma_Dhandpani ,

 

You are referring to dynamically changing column displayed by slicer selection, please check below similar posts:

https://community.powerbi.com/t5/Desktop/Column-Displayed-in-a-table-Based-on-Slicer-Selection/m-p/4...

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

Highlighted
Community Support
Community Support

Re: Regarding retrieving data

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" )
        )
    )
)

6.PNG7.PNG

pbix attached.

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

4 REPLIES 4
Highlighted
Community Support
Community Support

Re: Regarding retrieving data

Hi @Uma_Dhandpani ,

 

Could you please show more details with expected data?

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Highlighted
Helper I
Helper I

Re: Regarding retrieving data

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 Capture2.PNGvalueCapture1.PNG

Highlighted
Community Support
Community Support

Re: Regarding retrieving data

Hi @Uma_Dhandpani ,

 

You are referring to dynamically changing column displayed by slicer selection, please check below similar posts:

https://community.powerbi.com/t5/Desktop/Column-Displayed-in-a-table-Based-on-Slicer-Selection/m-p/4...

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

Highlighted
Community Support
Community Support

Re: Regarding retrieving data

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" )
        )
    )
)

6.PNG7.PNG

pbix attached.

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors