cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors