The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
I have a table with no data in the table currently. I would like to show "No Data" if data is not available in the table. I do not have any filters for this table.
Can you please let me know how to show "No Data" if table is empty and without filters.
Thank you!
Solved! Go to Solution.
Hi @ashuaswinireddy ,
I created some data:
Table1:
Here are the steps you can follow:
1. Create measure.
isempty =
var _if=
ISEMPTY (
CALCULATETABLE (
'Table1',
'Table1'[Group]
)
)
return
IF(
_if=TRUE(),"No Data","Data")
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @ashuaswinireddy ,
I created some data:
Table1:
Here are the steps you can follow:
1. Create measure.
isempty =
var _if=
ISEMPTY (
CALCULATETABLE (
'Table1',
'Table1'[Group]
)
)
return
IF(
_if=TRUE(),"No Data","Data")
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
@ashuaswinireddy , follow this approch
https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/
but here you need check for measure like
countrows(Table)
based on above measure change color etc
User | Count |
---|---|
86 | |
84 | |
35 | |
35 | |
35 |
User | Count |
---|---|
94 | |
79 | |
63 | |
55 | |
52 |