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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

How to show value per week

Hello guys, I am having a problem in my data model. I have two tables, Target and Calendar 

in the Target Table I have the Target Date that is a single day of the month for each month and it contains a value:

thatjoey20_0-1702469888638.png

and in the Calendar table I have the days and week number:

thatjoey20_1-1702470011042.png


Calendar and Target table are relationed by the date field. 

thatjoey20_2-1702470088013.png

 



And then, I have a measure that sums the target value. My objective is to show the target value per week, but as you can see, I only have one day per month in my Target Table date field, and when I try to visualize the date per week in a table, it gets aggregated only in one week, as you can see below: 

thatjoey20_3-1702470252507.png

 


How can I build a measure that be able to distribute the values per week?

 

1 ACCEPTED SOLUTION
Bmejia
Super User
Super User

Make sure your date fields are formatted as date in particular the 'Data Inicial'.  You can try this see if this fixes the issue.  Create a new column in your fMetas table refering to the Data inicial. Then join this column with your date table instead of directly from the data inicial column.

DateValidation = DATE(
YEAR(fMetas[Data Inicial])
,MONTH(fMetas[Data Inicial])
,DAY(fMetas[Data Inicial])
)

View solution in original post

1 REPLY 1
Bmejia
Super User
Super User

Make sure your date fields are formatted as date in particular the 'Data Inicial'.  You can try this see if this fixes the issue.  Create a new column in your fMetas table refering to the Data inicial. Then join this column with your date table instead of directly from the data inicial column.

DateValidation = DATE(
YEAR(fMetas[Data Inicial])
,MONTH(fMetas[Data Inicial])
,DAY(fMetas[Data Inicial])
)

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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