cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Glovecm16
Frequent Visitor

same period last year not working only for the last date

Hello!

 

I have this metric (Nr clientes MTD hom) that works fine for all the dates except the last one on my date filter wich is very strange.

This is the first metric: "Nr clientes MTD =TOTALMTD([nr_clientes D], DATESMTD(Fechas_Super[fulldate]))"

Then I apply the SAMEPERIODLASTYEAR function: "Nr clientes MTD hom=

CALCULATE([Nr clientes MTD],SAMEPERIODLASTYEAR(Fechas_Super[fulldate]))"

I'm using a date slicer, and the metric adds a lot of clients to the metric "Nr clientes MTD hom" specifically in the last date of my calender, wich in this case is "08-07-2023"

Glovecm16_0-1689588320484.png

Can someone help me?

 

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @Glovecm16 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors