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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Relationship error with blank value

Hey Guys,

 

i want to connect these two tables to have just one slicer for each period :

nk337_2-1672662461281.png

 

 

When i dont connect the tables it showes me the wrong amount for the categories (see on the right bar chart)

 

I already have made a new table for the relationships :

nk337_1-1672662219270.png

 

When i use the new slicer with the connected tables , my Previous year data disables :

nk337_3-1672662636728.png

For my Previous Year data i just have made a sameperiod last year measure.

 

How can i fix this problem that my PY Data will still continue du show ?

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , if you are using sameperioslastyear. Make sure you are using date table. and slicer and visual are using date from date table

 

Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5bd4

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , if you are using sameperioslastyear. Make sure you are using date table. and slicer and visual are using date from date table

 

Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5bd4

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hey ,

 

i have used the right tables for the slicers and visuals.

I have made an measure for previous year but i dont now why power bi doesnt recognize it.

nk337_0-1672737703175.png

When i use the normal years slicer from my sales tables it works well, but i had to make a new table with a relationship. I have 2 different tables on my page which i want to illustrate. The new Tables also worked well, the only thing that makes an issue are the Previous year number which to not appear.

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors