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
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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors