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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.