Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
suyogbi
Frequent Visitor

Display detail Table when we click on any of the Bar in Bar graph

Hi All,

 

I have requirement where i need to show 2 visuals in page

1. Bar graph which shows summary sales by category

suyogbi_0-1626267811127.png

2. Once User clicks on any of the BAR in above visual then detail table should appear with filtered data for selected category.

Example: If user clicks on BIKES in above visual then below table should appear in page.

 

suyogbi_1-1626268066819.png

 

NOTE: The detail table should appear only if user click on any of the BAR in first visual else it should not appear in page. 

is it possible to achieve this functionality? or any work arround?

Please Help

 

TIA

Suyog

 

2 ACCEPTED SOLUTIONS
Pragati11
Super User
Super User

Hi @suyogbi ,

 

There are 2 ways I can think of for achieving this:

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

v-angzheng-msft
Community Support
Community Support

Hi, @suyogbi 

Try to create a measure like below, then show items when the value is 1 in the filter pane

isFilterd =
VAR _total =
    CALCULATE ( DISTINCTCOUNT ( 'financials'[Product] ), ALL ( financials ) )
VAR _current =
    CALCULATE ( DISTINCTCOUNT ( financials[Product] ), ALLSELECTED ( financials ) )
VAR _if =
    IF ( _current <> _total, 1 )
RETURN
    _if

 so the result will be like this:

vangzhengmsft_0-1626414815036.png

vangzhengmsft_1-1626414934568.png

 

Please refer to the attachment below for details

 

 

Hope this helps.

 

Best Regards,
Community Support Team _ Zeon Zheng
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
suyogbi
Frequent Visitor

Thanks a ton @Pragati11 @v-angzheng-ms   Both solutions fulfilled by requirement. 

Thanks for your feedback😀, If my post helps, then could you please consider Accept it as the solution? Glad to help.

v-angzheng-msft
Community Support
Community Support

Hi, @suyogbi 

Try to create a measure like below, then show items when the value is 1 in the filter pane

isFilterd =
VAR _total =
    CALCULATE ( DISTINCTCOUNT ( 'financials'[Product] ), ALL ( financials ) )
VAR _current =
    CALCULATE ( DISTINCTCOUNT ( financials[Product] ), ALLSELECTED ( financials ) )
VAR _if =
    IF ( _current <> _total, 1 )
RETURN
    _if

 so the result will be like this:

vangzhengmsft_0-1626414815036.png

vangzhengmsft_1-1626414934568.png

 

Please refer to the attachment below for details

 

 

Hope this helps.

 

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

Pragati11
Super User
Super User

Hi @suyogbi ,

 

There are 2 ways I can think of for achieving this:

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.