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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Chart value not updating properly

Hello everyone,

 

I am new to creating Power BI reports and have recently developed one that includes data from the past two years (2023 and 2024). My goal is to display only the current year's values in the chart, but I’m experiencing an issue where the values get mixed up, when I use the slicer to select a year and month. For instance, when I select the year 2024 and the month of July (which should show 50), the values also incorporate data from July 2023, leading to a total of 100 instead of just 50.

 

Additionally, I've set up a Many-to-Many relationship for the months across reports, but it doesn't seem to function properly. Could someone please advise me on how to resolve these issues?

 

Thank you!

 

Best regards,
KPS

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

I create a table as you mentioned.

vyilongmsft_0-1723618312423.png

Then I create a new table.

 

DateTable = 
ADDCOLUMNS(
    CALENDAR(DATE(2023, 1, 1), DATE(2024, 12, 31)),
    "Year", YEAR([Date]),
    "Month", MONTH([Date])
)

 

vyilongmsft_1-1723618394476.png

The relationship between them is One-to-Many.

vyilongmsft_2-1723618534930.png

When I add a slicer it will give you what you want.

vyilongmsft_3-1723618630176.pngvyilongmsft_4-1723618675610.png

 

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

I create a table as you mentioned.

vyilongmsft_0-1723618312423.png

Then I create a new table.

 

DateTable = 
ADDCOLUMNS(
    CALENDAR(DATE(2023, 1, 1), DATE(2024, 12, 31)),
    "Year", YEAR([Date]),
    "Month", MONTH([Date])
)

 

vyilongmsft_1-1723618394476.png

The relationship between them is One-to-Many.

vyilongmsft_2-1723618534930.png

When I add a slicer it will give you what you want.

vyilongmsft_3-1723618630176.pngvyilongmsft_4-1723618675610.png

 

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , You need to understand the need for a many-to-many join. It should be avoided depending on what you are building.

Bridge Table

https://www.seerinteractive.com/blog/join-many-many-power-bi/

 

Common Dimensions

Power BI- DAX: When I asked you to create common tables: https://youtu.be/a2CrqCA9geM
https://medium.com/@amitchandak/power-bi-when-i-asked-you-to-create-common-tables-a-quick-dax-solution-8e3eccb41bda

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.