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
KH_Mike
Helper III
Helper III

Show missing data in table

Hi All,

 

I have a dataset like below.

 

YearTypeAmount
2020A10
2020B20
2020C30
2020D40
2020E50
2021A60
2021B70
2021C80

 

Now, I create a measure to calculate the Last Year (2020) result and show it together with this year data like below.

 

Slicer = 2021

 

TypeThis YearLast Year
A6010
B7020
C8030

 

However, I would like the "Type" also contain what 2020 have but 2021 no record like below.

 

TypeThis YearLast Year
A6010
B7020
C8030
D040
E050

 

Anyone how to do it?

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

6 REPLIES 6
Ashish_Mathur
Super User
Super User

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

That what I need. Thank you.

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
KH_Mike
Helper III
Helper III

Hi @ALLUREAN , @PC2790 ,

 

Sorry that I tried the way you provided, still not able to do it.

PC2790
Community Champion
Community Champion

Try adding +0 in your measure formula and see if it works

ALLUREAN
Solution Sage
Solution Sage

Hi, @KH_Mike 

 

Can you try this? Right click on Type field:

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-show-items-no-data

 

 




Did I answer your question? Mark my post as a solution!


https://allure-analytics.com/
https://www.youtube.com/channel/UCndD_QZVNB_JWYLEmP6KrpA
https://www.linkedin.com/company/77757292/

Proud to be a Super User!




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!

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.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.