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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
goyalsa
Helper III
Helper III

How to streamline data in a Power BI matrix

Hi Everyone,

https://1drv.ms/u/s!ApGsTx0zWYrbiVJU2aO-3s6VaWZY?e=Ltlf5P 

 

Please find the attached link as a sample file. 

In the Power BI matrix, I want to make it like the excel screenshot below. but I do not know how to get the target sale for Month 202201 for North America as it is showing null because of no sale in that month.

goyalsa_0-1646197424415.png

Appreciate your help. Thanks in advance!!

 

Kind regards,

Sahil Goyal

2 REPLIES 2
vanessafvg
Super User
Super User

if you want to model this properly.

 

1. First you need to create a date table that you link both target an order tables to, same with your countries, separate the country  values into its own table and link to both target and orders

2. add the date data to the target separately.

 

then you can create a measure that will add a zero when there is no value

 

vanessafvg_0-1646200716048.png

 

 

 

orders = if(ISBLANK(sum(Orders[Orders])),0, sum(Orders[Orders]))
or even orders = sum(Orders[Orders]) + 0 might work
 
you will need to remodel this to get it to work properly

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Hi @vanessafvg ,

Thank you for the suggestion but it is not working out.

goyalsa_0-1646245113836.png

goyalsa_1-1646245149830.png

 

Kind regards,

Sahil Goyal

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.