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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Valores diferentes con parametros de busqueda

Buenos días, 

 

Necesito ayuda para sacar la siguiente información, con los datos que muestro a continuación: 

 

paolaafm_0-1661181537061.png

 Tengo la información de usuarios por año y mes, con su respectiva ubicación. Tal como se muestra en la imagen, ahora, mi requerimiento es identificar cuales de esos usuarios cambiaron de ubicación a traves del tiempo.  Pero no se como ir llamando por "NIU" y a la vez vaya corriendo años y meses y verifique que la ubicación sea la misma. 

1 ACCEPTED SOLUTION
v-cgao-msft
Community Support
Community Support

Hi @Anonymous ,

 

Is this what you want to achieve?

vcgaomsft_0-1661394843722.png

If so, please try this measure.

Measure = 
VAR _count =
CALCULATE(
DISTINCTCOUNT('Table'[Location]),FILTER(ALL('Table'),'Table'[NIU]=MAX('Table'[NIU])))
VAR _status = 
IF(_count<>1,"Different","Same")
RETURN
_status

Please check the pbix file.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

View solution in original post

1 REPLY 1
v-cgao-msft
Community Support
Community Support

Hi @Anonymous ,

 

Is this what you want to achieve?

vcgaomsft_0-1661394843722.png

If so, please try this measure.

Measure = 
VAR _count =
CALCULATE(
DISTINCTCOUNT('Table'[Location]),FILTER(ALL('Table'),'Table'[NIU]=MAX('Table'[NIU])))
VAR _status = 
IF(_count<>1,"Different","Same")
RETURN
_status

Please check the pbix file.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors