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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Average with Datesbetween

Hi,
I have some unexpected values that I dont understand why they appear.

 

I calculate a daily value using average called D_1 Auction as below:

restevez11_0-1666712500614.png

 

I also calculated a monthly average using my Dates Table called Fechas, and related to the table "Mibgas PVB"). I call this measure 

restevez11_1-1666712611643.png

As expected, with a monthly context, both measures are equal, but in the second one, the total average appears without any date.

restevez11_2-1666712760729.png

 

 Why this value appears and how can I get rid off it?


Thanks

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Solved using this measure:

D_1 Auction Promedio = IF( [D_1 Auction]=BLANK(),BLANK(),
 CALCULATE(
    [D_1 Auction],
    DATESBETWEEN(Fechas[Dia],STARTOFMONTH(Fechas[Dia]),ENDOFMONTH(Fechas[Dia]))
)
)
 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Solved using this measure:

D_1 Auction Promedio = IF( [D_1 Auction]=BLANK(),BLANK(),
 CALCULATE(
    [D_1 Auction],
    DATESBETWEEN(Fechas[Dia],STARTOFMONTH(Fechas[Dia]),ENDOFMONTH(Fechas[Dia]))
)
)
 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.