Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have two tables as below
Table 1
Table 2
As you can see below the matrix table is not showing C, Is it possible to display C with value 0.
Solved! Go to Solution.
@Libin7963 , Also check if this is enabled or not
Proud to be a Super User! |
|
Hi @Libin7963
Create a DAX measure as mentioned below
FinalID =
SUMX(
'Table A',
VAR RelatedID = MAXX(
FILTER('Table B', 'Table B'[Name] = 'Table A'[Name]),
'Table B'[ID]
)
RETURN IF(ISBLANK(RelatedID), 0, RelatedID)
)Then Drag Name column from Table A into Rows field
then drag FinalID measure into Values field
Then you'll get the output as you required.
Hope this helps you.
Thanks!
@Libin7963 , Try this
Click on the matrix visual to select it.
Go to the "Format" pane.
Expand the "Values" section.
Turn on the "Show on rows" option if you want to display rows with no data.
Proud to be a Super User! |
|
Thanks for youre reply, are you referring to the option below, if so it is not helping.
@Libin7963 , Also check if this is enabled or not
Proud to be a Super User! |
|
Thanks, that almost worked, is it possible to show 0 for blanks
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 62 | |
| 45 | |
| 42 | |
| 26 | |
| 18 |
| User | Count |
|---|---|
| 193 | |
| 124 | |
| 101 | |
| 67 | |
| 49 |