Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Comunidad,
Quisiera saber si es posible mostrar datos unicamente cuando se seleccionen filtreos. Tengo un gráfico de Tendencias en el cual deseo que las lineas de tendencias parezcan solo si hay valores seleccionados en filtros, por defecto Power bi establece los filtros en selección como "todos".Deseo saber si es posible establecer esto como "blanco" o "ninguno" para posteriormente aparezcan las lineas de tendencia en base a los datos seleccionados.
Agradezco cualquier información al respecto
Solved! Go to Solution.
Hi @Franco_RV ,
I have created a sample table like this:
Create this measure:
Measure =
IF (
CALCULATE ( ISFILTERED ( 'Table'[group] ), ALLSELECTED ( 'Table'[group] ) ),
SELECTEDVALUE ( 'Table'[value] ),
BLANK ()
)
Put this measure in the line chart visual and set group as a slicer:
Sample file is attached that hopes to help you, please check and try it: Show data only if there are filters value.pbix
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Franco_RV ,
I have created a sample table like this:
Create this measure:
Measure =
IF (
CALCULATE ( ISFILTERED ( 'Table'[group] ), ALLSELECTED ( 'Table'[group] ) ),
SELECTEDVALUE ( 'Table'[value] ),
BLANK ()
)
Put this measure in the line chart visual and set group as a slicer:
Sample file is attached that hopes to help you, please check and try it: Show data only if there are filters value.pbix
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Thank's!!!!!! it work's!!!!!!
@Franco_RV , see if this can help
https://www.kasperonbi.com/show-values-in-a-chart-only-when-a-slicer-is-selected/
Hello
Power BI naturally loads data into all visuals, doesn't contemplate execution after selecting a filter or slicer or similar.
Defining measures with conditionals to know if there are selected values is not a solution that I advise, because one ends up dirtying business measures by a visual effect.
one option would be to put a "dummy" value in the slicers and save the report with that selected value, but I would test its operation, personally I do not like the result very much...
but once published if you allow the report's consumers to save "filters", they could save them to a certain value, and skip the searched effect.
User | Count |
---|---|
140 | |
113 | |
104 | |
76 | |
63 |
User | Count |
---|---|
135 | |
126 | |
110 | |
70 | |
61 |