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
Syndicate_Admin
Administrator
Administrator

DAX Dividir por 100 con un filtro

Todavía estoy en los primeros días de aprender Powerbi. Esta es la primera vez que publicamos, así que espero que tenga sentido.

Estoy tratando de crear una división simple por 100, pero sigo obteniendo el "no se puede determinar un solo valor para la columna '***' en la tabla '*' ..." Mensaje.

Así que me gustaría filtrar la consulta, pero no tengo idea de cómo hacerlo.

Esto es lo que tengo...

Medida 2 = CALCULAR('ProjectFigures'[Ingresos] = "527322") / 100
El "527322" debe ser dinámico, es decir, extraído de un taladro en una página anterior.
1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@gavpop , lo que quieres en esta medida

gustar

Medida 2 = CALCULATE(countrows(filter( 'ProjectFigures', 'ProjectFigures'[Revenue] = "527322")) ) / 100

o

Medida 2 = CALCULATE(Sum('ProjectFigures'[Ingresos])) / 100

View solution in original post

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@gavpop , lo que quieres en esta medida

gustar

Medida 2 = CALCULATE(countrows(filter( 'ProjectFigures', 'ProjectFigures'[Revenue] = "527322")) ) / 100

o

Medida 2 = CALCULATE(Sum('ProjectFigures'[Ingresos])) / 100

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