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

Disable select all in segments

Hello,

 

I have a problem concerning segments, I created a sector segments and i disabled Select All and activated Unique Selection but the problem when i don't select any sector, automatiquelly it show me data for all sectors, is there a way to fix this ? i attached a picture to better explain

 

Problem.png

 

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Disable select all in segments

@malekdk ,

 

The table visual can't achieve your requirement. Please use card visual instead. Suppose the [National] is a measure, you can create a measure like below and drag the measure to the card visual:

Result = 
IF ( HASONEFILTER ( Table1[Secteur] ), MAX(Table1[National]), BLANK () )

Capture.PNG 

 

Community Support Team _ Jimmy Tao

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: Disable select all in segments

@malekdk ,

 

You can modify your measure using DAX like pattern below and check if it can meet your requirement:

Result =
IF ( HASONEFILTER ( Table[Selection] ), [National], BLANK () )

Community Support Team _ Jimmy Tao

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: Disable select all in segments

@v-yuta-msft  I didn't understand well, could you more explain please ?

Highlighted
Helper I
Helper I

Re: Disable select all in segments

Any ideas ? Is it possible or not ?

Highlighted
Community Support
Community Support

Re: Disable select all in segments

@malekdk ,

 

The table visual can't achieve your requirement. Please use card visual instead. Suppose the [National] is a measure, you can create a measure like below and drag the measure to the card visual:

Result = 
IF ( HASONEFILTER ( Table1[Secteur] ), MAX(Table1[National]), BLANK () )

Capture.PNG 

 

Community Support Team _ Jimmy Tao

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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Featured Data Story of The Month

Featured Data Story of The Month

All Data Stories Gallery contributions are reviewed for each month. We select a contribution and feature the community member the following month.

Power BI Dev Camp - Developing with .NET Core

Power BI Dev Camp - Developing with .NET Core

Learn how to develop custom web applications for Power BI using .NET Core 3.1 and .NET 5.

Power BI Desktop August 2020 Update

Power BI Desktop August 2020 Update

We have great updates this month! Click the link for the video with more info.

Top Solution Authors
Top Kudoed Authors