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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Yaninabalos19
New Member

Ayuda con segmentacion y fechas

Buen dia¡ como están? disculpen las molestias espero puedan ayudarme , hace poco empecé con power bi, estoy intentando sacar algo pero no hay forma. 

Quería consultarles si hay manera de traer una cotización de la última fecha del mes de acuerdo a la segmentación de fechas q tengo configurada. 

Actualmente nose que estoy haciendo mal pero cargue una tabla de cotizaciones desde noviembre y cuando quiero armar una tabla con los datos de mi tabla de hecho y quiero agregar esas cotizaciones me trae todo y no me filtra de acuerdo a la segmentación. como lo puedo arreglar ? me fije en las relaciones y me deja solo hacer la relación de fecha con el calendario pero necesito que me vaya buscando las cotizaciones de acuerdo a mi tabla de hecho. 

Mil gracias!! Saludos!!!!

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

Hi @Yaninabalos19 ,

You can create a measure as below to get it by using the function ENDOFMONTH:

Measure =
CALCULATE (
    SUM ( 'Table'[Quote] ),
    FILTER ( 'Table', 'Table'[Date] = ENDOFMONTH ( 'Table'[Date] ) )
)

If the above one can't help you get the expected result, could you please provide some raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yiruan-msft
Community Support
Community Support

Hi @Yaninabalos19 ,

You can create a measure as below to get it by using the function ENDOFMONTH:

Measure =
CALCULATE (
    SUM ( 'Table'[Quote] ),
    FILTER ( 'Table', 'Table'[Date] = ENDOFMONTH ( 'Table'[Date] ) )
)

If the above one can't help you get the expected result, could you please provide some raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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