Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I have this simple dashboard with a line graph showing the total sales per person on each date, and on the right I have table that shows the clients and the price of their purchases. The thing is, I want to leave the table blank as default and only display its values when the use clicks on a marker of the line chart (so it displays the clients of that salesperson on that day). How can I adjust it so it stays blank as default?
Here is the link to my .pbix file:
https://drive.google.com/file/d/1VWLANFcNBcHb8OzumVjO2v57_6a1DZdq/view?usp=sharing
Solved! Go to Solution.
Power BI doesn’t hide table column headers automatically if there are no rows...If you really want the table to “disappear” entirely, you have two options:
Overlay with a blank card or shape and toggle visibility via bookmarks.
Use a Matrix visual with “Values” empty when your measure is 0 — sometimes looks cleaner
Hope that help!
Besides the solution provided by @RicardoTraNa you could instead create a tooltip.
Add a page, set the Page Type to tooltip, add your table to this new page (it should take up the whole page) then set this tooltip page to be the tooltip for your line chart.
Now when someone hovers over the line chart they will see the filtered version of the table for date and person.
Where did you put the value of this metric though?
I put it as a visual filter, but is still shows the header of the table
Power BI doesn’t hide table column headers automatically if there are no rows...If you really want the table to “disappear” entirely, you have two options:
Overlay with a blank card or shape and toggle visibility via bookmarks.
Use a Matrix visual with “Values” empty when your measure is 0 — sometimes looks cleaner
Hope that help!
Hey you should use this Dax:
ShowTable =
IF(
HASONEVALUE(Sales[Person]) &&
HASONEVALUE(Sales[Date]),
1,
0
)
This works If you want the table to show only when exactly one person AND one date is selected.
Best Regards!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 51 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 65 | |
| 39 | |
| 33 | |
| 23 |