Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
Essentially I'm trying to filter the table to exclude data for a specific id, but still want to see that one of the rows has no data for the leftover id.
For that to make sense, let me illustrate:
This is the data:
This is the table:
As you can see there's no row with name "Test", which makes sense because there's no data for that for the remaining data after filtering.
Ideally, it would be great to still have "Test" next to "Hello" and "World" but to show either 0, or Null, or something along those lines.
I've attempted to create a new table:
This one just has a list of all the possible "name"'s.
And what I did with this is created a relationship:
And in my Power BI table, instead of using "name" from table vals I replace it with "name" from table types.
But, frustratingly, it is still showing the same result as previously! 😐
I feel like this is a very simple problem, but for some reason cannot get my head around it!
Solved! Go to Solution.
Hi @Anonymous,
You could create the calculated table with the formula below.
table = VALUES(Table2[name])
Then create the relationship and create the measure.
Measure = var a= CALCULATE(SUM('Table2'[value]),FILTER('Table2','Table2'[some_id]=SELECTEDVALUE(Table2[some_id]))) return IF(ISBLANK(a),0,a)
Here is your desired output.
More details, you could refer to the attachment.
Best Regards,
Cherry
Hi @Anonymous,
You could create the calculated table with the formula below.
table = VALUES(Table2[name])
Then create the relationship and create the measure.
Measure = var a= CALCULATE(SUM('Table2'[value]),FILTER('Table2','Table2'[some_id]=SELECTEDVALUE(Table2[some_id]))) return IF(ISBLANK(a),0,a)
Here is your desired output.
More details, you could refer to the attachment.
Best Regards,
Cherry
Did you click the drop down on "name" in the Values area and select "Show items with no data"?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 73 | |
| 50 | |
| 46 | |
| 44 |