Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Add Missing items with null/blank/0

Hi Community,

 

I have a table with 3 columns, Name is slicer in my report. If i select Bala it will show all 4 region details of bala.

If i select Dhanpal or Sudhakar it needs to show all 4 regions for both with blank/Null,0 value in sales column.

 

This is my Table:

 

NameRegionSale
BalaEast10
BalaWest20
BalaNorth30
BalaSouth40
DhanpalEast25
DhanpalWest35
DhanpalSouth45
SudhakarWest15
SudhakarNorth40

 

My Desired Output: If i select Sudhakar

NameRegionSale
SudhakarWest15
SudhakarNorth40
SudhakarEastNull
SudhakarSouthNull

 

Can you guys please help me out from this

 

Thank you in advance

B V S S

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , You have create a measure with +0. Also change data type sales to number

 

Please find the file attached after signature. Check for Measure 2

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous,

I think you need to create a calculated table with all region values and use it on your visual with the raw table category.  Then you can write a measure formula to lookup value based on current category and region, use the if statement to replace the not matched value to blank.

Regards,

Xiaoxin Sheng

amitchandak
Super User
Super User

@Anonymous , You have create a measure with +0. Also change data type sales to number

 

Please find the file attached after signature. Check for Measure 2

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
amitchandak
Super User
Super User

@Anonymous , As Sudhakar do not have all the values.

 

You need have Region dimesion as separate table joined to this table with region and then use +0 to the measure or use this option - Show  Item with no Data for Region

 

ShowItemwithoutdata.JPG

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @amitchandak ,

 

Thank you for the response.

 

I tried your solution. But no luck. 

Here Download here i am attaching my pbix file. can you please have a look and let me know what i am missing

 

Thank you in advance

B V S S

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.