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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
LLT1021
Helper I
Helper I

Fill in year values for every month

Dear all,

I have a question about adding year values for every month.
I have a table scores per person per year, the score table looks like;
Year      Person      Score       Date-Person key
2022      Ben           5            01-01-2022 Ben
2021      Ben           2            01-01-2021 Ben

2020      Ben           3            01-01-2020 Ben
2022      Michel      3            01-01-2022 Michel
2021     Michel        1          01-01-2021 Michel

Etc.


I would like to use these scores in another table with lots of more information for every person, but per month. 
If I use Score=related(Score[Score]) I get the score for every person but only on the first of a year. Therefore, if you select another time period (January excluded) you don't get a score for anyone, though the score is valid for all of the year.

Does anyone know how to solve this easily?

2 REPLIES 2
LLT1021
Helper I
Helper I

Thanks a lot! This is already helping very much.
Though, I only have values on 1-1-year (so not in the end of the year), which dax expression would the nbe appropriate? 

amitchandak
Super User
Super User

@LLT1021 , refer if these can help

 

PowerBI Distributing/Allocating the Yearly Target(Convert to Daily Target): Measure ( Daily/YTD): Magic of CLOSINGBALANCEYEAR With TOTALYTD/DATESYTD: https://community.powerbi.com/t5/Community-Blog/Power-BI-Distributing-Allocating-the-Yearly-Target-C...

 

powerbi Distributing/Allocating the Yearly Target(Convert to Daily Target): https://community.powerbi.com/t5/Community-Blog/Distributing-Allocating-the-Yearly-Target-Convert-to...

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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