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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
ryan031581
Frequent Visitor

No prior year values since nothing defined?

Screenshot 2026-01-21 094351.pngHere is a sample dataset and my desire for a sample table compared to what I'm getting. In this example, no color was defined in 2025. In 2027 the color could change so I need to keep track of the year and color for each state. The issue is I believe no color is there for 2025. 

 

 

 

8 REPLIES 8
v-karpurapud
Community Support
Community Support

Hi @ryan031581 

We have not received an update from you for some time. To assist you in resolving the issue, we kindly request that you provide the necessary details. Once we have this information, we will be able to address your concern effectively.

Thank you.

v-tsaipranay
Community Support
Community Support

Hi @ryan031581 ,

Thanks for reaching out to the Microsoft fabric community forum.

 

Could you please sharing some sample data and expected outputs, so that it could be easy for understand and give you best possible solution to resolve your issue.

Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Need help uploading data? How to provide sample data in the Power BI Forum - Microsoft Fabric Community
Want faster answers? How to Get Your Question Answered Quickly - Microsoft Fabric Community

Hope this helps. Please feel free to reach out for any further questions.


Thank you .

 

 

pcoley
Resolver II
Resolver II

Please check if the DimDate Table has dates for 2025

Please try with dummy data for 2025 at the StateColor Table (duplicating 2026 colors)

Refresh and check.

 

ryan_mayu
Super User
Super User

@ryan031581 

what if CA also has black color and the order  is 50. then what will your desire output be? what's the output for color and order current year column?





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

Proud to be a Super User!




A state will have retain a color for at least the year. Ideally, I would only present this for one year at a time.

Ashish_Mathur
Super User
Super User

Hi,

Share data in a format that can be pasted in an MS Excel file.


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

Hi @ryan031581,

 

in your table the order table has a column date. If this is typed as date and not correctly mapped so that your DAX detect the year value of the date, your formula might not work.
I suggest extracting the year of the date column in this case (YEAR() function).

 

Best regards!

PS: If you find this post helpful consider leaving kudos or mark it as solution

Thanks, I have all that worked out. I keep playing with removefilters and keepfilters and changing the way the subtotals work and I'm going in circles.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.