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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Shanvitha_V
Frequent Visitor

Matrix value No Empty

HI Export below my input

Shanvitha_V_0-1669483935282.png

 

 

I have tried my Power BI report using Matrix below like

Shanvitha_V_1-1669484586768.png


my problem is Jan-22 IND is blank(NO values in source table)
Feb-22 USA is BLank
I need where Blank values replace Zero.

Expected Output.

Shanvitha_V_2-1669484703481.png

 

1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

Hi @Shanvitha_V ,

I created a sample pbix file(see the attachment) for you, please check whether that is what you want.

1. Create a country dimension table using below formula

Countries = VALUES('Table'[Country])

yingyinr_0-1669620430493.png

yingyinr_1-1669620449726.png

2. Create a measure as below:

Measure = SUM('Table'[Amount])+0

3. Create a matrix visual as below(Rows:  field [Month Year]  Columns:  field [Country] of the country dimension table  Values: new measure)

yingyinr_2-1669620587063.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yiruan-msft
Community Support
Community Support

Hi @Shanvitha_V ,

I created a sample pbix file(see the attachment) for you, please check whether that is what you want.

1. Create a country dimension table using below formula

Countries = VALUES('Table'[Country])

yingyinr_0-1669620430493.png

yingyinr_1-1669620449726.png

2. Create a measure as below:

Measure = SUM('Table'[Amount])+0

3. Create a matrix visual as below(Rows:  field [Month Year]  Columns:  field [Country] of the country dimension table  Values: new measure)

yingyinr_2-1669620587063.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
MahyarTF
Memorable Member
Memorable Member

Hi,

There is the same solve issue in the community, Please have a look :

https://community.powerbi.com/t5/Desktop/Replacing-null-values-in-matrix-visual/td-p/1019736

Appreciate your Kudos and please mark it as a solution if it helps

Mahyartf

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors