I’m trying to replicate some Spotfire functionality, but it is proving tricky.
Two visualisations : a chartĀ and a table, both using the same data.Ā What I want is that by default, with nothing selected in the chart, the table is empty.Ā On selecting something, the details appear in the table.Ā Here’s the catch – I don’t want data to appear if the users change a filter before selecting data points on the chart.
I’ve found a partial solution using a an overlaid card visusalisation, with conditional colour/transparency, depending on the results of the ISFILTERED() function.Ā However, when viewed in the web service, changing a filter triggers the display of data.
TIA,Ā Ā Ā Ā Jim
—————————— James Watts Business Intelligence Analyst ——————————
Dili Timor
Member
May 31, 2022 at 3:00 AM
HI By default a chart is selected/active thus a table/card show its value How can you make chart no active/selected
—————————— Dili Timor 12510 —————————— ——————————————-
James Watts
Member
May 31, 2022 at 5:55 AM
I’ve managed to get something acceptable to the users working. Create a measure that checks if data on the chart has been selected, e.g. Ā Ā SelectionCheck = ISFILTERED(‘Table'[Site]) Create a measure that modified text to be displayed based on this, but nothing when something is selected: Ā Ā SelectionText = IF([SelectionCheck],””,”Please select data on the chart to see details”) Then add a measure that sets the background colour for a Card visualisation: Ā SelectionColour = IF([SelectionCheck], “#FFFFFF00″,”White”) Finally, add a Card visualisation to display [SelectionText], with its background colour set as the value of [SelectionColour].Ā Size it to cover the details table, but make sure the visualisation does not cover any scroll bars.
When nothing is selected, the Card shows black text on a white background.Ā When something is selected, it shows a blank value but with a transparent background – that’s what the ’00’ at the end of the colour text provides.Ā This makes it transparent, so you can see the table behind it.
By using a column in [SelectionCheck] that is in the charts but not in the filters, it is only when data is selected in the charts that it appears in the table at the bottom.
—————————— James Watts Business Intelligence Analyst —————————— ——————————————-
Please note:
This action will also remove this member from your connections and send a report to the site admin.
Please allow a few minutes for this process to complete.
Report
You have already reported this .
Welcome to our new site!
Here you will find a wealth of information created for peopleĀ that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!