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
janislv
Helper I
Helper I

How to ignore dd/mm/yyyy but not mm/yyyy?

I have a table with one value for the entire month. This table has an active relationship to the dd/mm/yyyy calendar. I'm trying to create a calculated column within a measure in which this month's value becomes the daily value for each date of that month.

 

Any ideas?

 

DateValueExpected value
01/01/2023100100
02/01/2023 100
03/01/2023 100
04/01/2023 100
05/01/2023 100
1 ACCEPTED SOLUTION
janislv
Helper I
Helper I

The solution was simple.

 

1) took off the relationship

2)

var month_b = STARTOFMONTH('Calendar'[Date])
return CALCULATE(AVERAGE(Data[Value]),Data[month] = month_b)

View solution in original post

2 REPLIES 2
janislv
Helper I
Helper I

The solution was simple.

 

1) took off the relationship

2)

var month_b = STARTOFMONTH('Calendar'[Date])
return CALCULATE(AVERAGE(Data[Value]),Data[month] = month_b)
amitchandak
Super User
Super User

@janislv , a Few ways, The table have a month  or assume only the start date month, Join it with the date table on the month start date 

 

Month Start = eomonth([Date],-1)+1 //A new column in date table, join this

 

Another way

Power BI Distributing/Allocating the Monthly Target(Convert to Daily Target): Measure ( Daily/MTD): https://community.powerbi.com/t5/Community-Blog/Power-BI-Distributing-Allocating-the-Monthly-Target-...

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors