Forum Discussion
Card visual not showing selected value
Hi,
I have a power bi desktop file that contains reports with visuals. On page A there is a bar chart visual that is clicked on of division to drillthrough and bring to additional information on page B. On page B all tables and pie chart function well apart from the card visual that uses a measure to show the name of the selected division. What are the possible causes and fixes for this?
The measure i used is:
- Anonymous2 years ago
Hi Nari1998 ,
There could be several possible causes and fixes for this problem.
Check the filters on page B: Make sure that the division column is listed in the filters on page B. Sometimes, hidden filters can affect the card visual’s functionality. You can also try to clear all filters and slicers on page B and see if the card visual works as expected.Use a different measure: You can try to use a different measure to display the selected value on the card visual. For example, you can use MAX instead of SELECTEDVALUE. The measure would look like this:
Selected Division = MAX(‘REPORTS DIM_DIVISION_PROJECT_BEU’[DIVISION])Use conditional formatting: You can use conditional formatting to show or hide the card visual based on the selection in the slicer. You can create a measure to check if there is a filter on the division column and display a custom value or blank when nothing is selected. You can also create another measure to render the card visual blank when nothing is selected.
Solved: Show custom value on card visualization when nothi... - Microsoft Fabric Community
Show or Hide a Power BI Visual Based on Selection ✅ - Excelerator BI
How to Get Your Question Answered Quickly
Best Regards
Community Support Team _ RongtieIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
10 Replies
- Data-estDogResolver II
Is division listed in the filters on page B?
- Nari1998Helper II
Hi Data-estDog ,
Do u mean the column of divison or the created measure for it?
But yes the column of division is placed there. And also strangely when drillthrough is done all other visuals and tables on Page B change accordingly, only the card visual with the created measure in it doesnt show any divison name, except for the text "no division selected"
- Data-estDogResolver II
I meant the column.
I am perplexed. Without more info, screen shots of vizuals and their properties, not sure what I can do.- Nari1998Helper II
So i made a copy of the divsion bar chat to a blank page and also create the card visual on another blank page in order to do drillthough. The strange thing is that it works perfectly fine on the blank pages, so why is it not working on current page?
- AnonymousNot applicable
Hi Nari1998 ,
There could be several possible causes and fixes for this problem.
Check the filters on page B: Make sure that the division column is listed in the filters on page B. Sometimes, hidden filters can affect the card visual’s functionality. You can also try to clear all filters and slicers on page B and see if the card visual works as expected.Use a different measure: You can try to use a different measure to display the selected value on the card visual. For example, you can use MAX instead of SELECTEDVALUE. The measure would look like this:
Selected Division = MAX(‘REPORTS DIM_DIVISION_PROJECT_BEU’[DIVISION])Use conditional formatting: You can use conditional formatting to show or hide the card visual based on the selection in the slicer. You can create a measure to check if there is a filter on the division column and display a custom value or blank when nothing is selected. You can also create another measure to render the card visual blank when nothing is selected.
Solved: Show custom value on card visualization when nothi... - Microsoft Fabric Community
Show or Hide a Power BI Visual Based on Selection ✅ - Excelerator BI
How to Get Your Question Answered Quickly
Best Regards
Community Support Team _ RongtieIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Nari1998Helper II
Hi Anonymous ,
thank you for the suggestions.
I tried the one of clearing all filters and then doing update in bookmarks and it worked after that.
Thanks for the help.
- Nari1998Helper II
Hi Anonymous and Data-estDog ,
Hope you're well.
After sitting with the visual for a while now it does do the drillthrough and show selected division on the card visual on page B, but only when there is no year selected in the year slicer and on all years except for the year 2023.
Even if i just filter on janaury till march of 2023 the drillthrough it does the drillthrough but doesn't show selected divsion on which the drillthrough was done.
What could the cause of this be and how to fix iT?
- Data-estDogResolver II
Maybe it is a new division and doesn't exist in the other years?
- Nari1998Helper II