cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Valor del mes pasado

treedgf_1-1600949244313.png

Necesito una columna que devuelva el número de "Acessos" del mes anterior para una determinada "Empresa" en un determinado "Município".

Gracias

1 ACCEPTED SOLUTION
Super User IV
Super User IV

@treedgf , Ver una nueva columna como esta puede funcionar

sumx(filter(Table, [Company]-earlier([Company]) && [Municipality]- earlier([Municipality]) && eomonth([date],0) á eomonth(earlier(Date]),-1)),[Accesses])

sumx(filter(Table, [Empresa]-earlier([Empresa]) && [Município]- earlier([Município]) && eomonth([date],0) á eomonth(earlier([Date]),-1)),earlier([Acessos]))



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

1 REPLY 1
Super User IV
Super User IV

@treedgf , Ver una nueva columna como esta puede funcionar

sumx(filter(Table, [Company]-earlier([Company]) && [Municipality]- earlier([Municipality]) && eomonth([date],0) á eomonth(earlier(Date]),-1)),[Accesses])

sumx(filter(Table, [Empresa]-earlier([Empresa]) && [Município]- earlier([Município]) && eomonth([date],0) á eomonth(earlier([Date]),-1)),earlier([Acessos]))



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Wave Release 2

Check out the updates in Power BI.

Overview of Power BI 2020 release wave 2!

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

secondImage

The largest Power BI virtual conference

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