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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
ALWP
Frequent Visitor

Slicer single selection in a tree

Hi,

Any body can help me with this issue:

I need to select only one item in a slicer with a tree as figure below

ALWP_3-1608035768037.png

When i select "ANT"

ALWP_4-1608035814758.png

both dates are selected automatically, but i just want to have one (the slicer date is configured as single selection).

Is there a solution for this?

 

 

1 ACCEPTED SOLUTION
ALWP
Frequent Visitor

Here is my provisory solution:

Created a measure:  condicao descargas = if(or('Medidas'[Sigla Selecionada]="ABO",'Medidas'[soma contador descargas]>max('BD Descargas'[Contador Rama])),"Selecionar Descarga","Gerar Relatório")

to modify a button text like this:

ALWP_0-1608627382052.png

The condition is based on the created measure:

ALWP_1-1608627424416.png

An the result is:

ALWP_2-1608627459137.png

ALWP_3-1608627473567.png

The text varies depending on the condition of the measure created.
This solution was based on readings on other foruns from users of powerBi but has a little bit of my hand.

 

As I said before this is not a bullet proof solution, but for now that what we have.

 

 

Regards

 

 

View solution in original post

5 REPLIES 5
ALWP
Frequent Visitor

Here is my provisory solution:

Created a measure:  condicao descargas = if(or('Medidas'[Sigla Selecionada]="ABO",'Medidas'[soma contador descargas]>max('BD Descargas'[Contador Rama])),"Selecionar Descarga","Gerar Relatório")

to modify a button text like this:

ALWP_0-1608627382052.png

The condition is based on the created measure:

ALWP_1-1608627424416.png

An the result is:

ALWP_2-1608627459137.png

ALWP_3-1608627473567.png

The text varies depending on the condition of the measure created.
This solution was based on readings on other foruns from users of powerBi but has a little bit of my hand.

 

As I said before this is not a bullet proof solution, but for now that what we have.

 

 

Regards

 

 

themistoklis
Community Champion
Community Champion

@ALWP 

 

Turn off single select and turn on Multi-select with CTRL

Then on Filter do not select the upper level (e.g. Americas, but directly select the lower level values e.g. 'Aruba', 'Bahamas'... and for multiple selection hold the control button

Select.JPG

This solution is not acceptable since i still need to select one and only one object.

Regards

amitchandak
Super User
Super User

@ALWP , I doubt that is possible.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

I'm sorry but that is an answer that not cannot accept. If that is not possible to do in the moment (hope it will be in future) for now there is/are ways to workaround this issue.

I find one but its not bullet proof. 

I 'm continue to search a way that keep my report secure without given false information to users
Thanks anyway

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.