cancel
Showing results for
Did you mean:

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

New Member

## Obtener el valor de una medida - Get the value of a measure

Hola, muy buenos dias.

Tengo un problema y la verdad no se como podria solucionarlo, soy nuevo en power bi.
lo que quiero lograr es esto:

Tengo una medida que es "Dias liberaciones". Lo que hace es que me cuenta los dias de una fecha que esta por vencer o que esta cerca. Lo que quiero lograr es obtener el valor de los que estan por 30 dias que seria un mes. Y me gustaria que en un tarjeta me muestre cuantos 30 dias hay, si 1, 2 o 3. La verdad no se como podria hacerlo.

Teniendo cuenta de que no puedo hacer una tabla o columna. Solo podria hacer con otra medida, pero no se como.

Si no se entiende muy bien, me podrian comentar en que parte no se me entiende. Muchas gracias

------------------------------------------------------------------------------------------------------------------------------------------

Hi, good morning.

I have a problem and I really don't know how I could solve it, I'm new to power bi.
what I want to achieve is this:

I have a measure that is "Days releases". What it does is that it tells me the days of a date that is about to expire or is close. What I want to achieve is to obtain the value of those who are for 30 days, which would be a month. And I would like a card to show me how many 30 days there are, whether 1, 2 or 3. I really don't know how I could do it.

Given that I can't make a table or column. I could only do with another measure, but I don't know how.

If it is not understood very well, could you tell me in which part it is not understood. Thank you very much for your help

Community Support

Hi @Br4yan ,

Do you want to calculate the days between dates?

You may try DATEDIFF function.

``DATEDIFF(<start_date>, <end_date>, <interval>)  ``

Is it possible to provide some dummy data and expected results?

Best Regards,

Stephen Tao

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

Announcements

#### Power BI Monthly Update - November 2023

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

#### Fabric Community News unified experience

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

#### Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

#### 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