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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Utilice el valor constante en medida

Hola amigos,

Tengo un problema. Voy a tratar de explicar lo más detallado posible, pero en caso de que surjan preguntas, por favor no dude en preguntar.

Tengo una imagen que consiste en muchas medidas. Estas medidas calculan diferentes collumns en diferentes tablas.

Los valores son dinámicos y puedo filtrarlos por diferentes contextos.

También necesito los totales. Se supone que se usan como KPI.

Capturas de pantalla a continuación:

2020-04-07 15_08_22-OTRS6 - Update (2) (2) - Power BI Desktop.pngCómo se ve en este momento

En el objeto visual se supone que muestra el total de todas las líneas (que se filtran aquí). En este momento utiliza el total anterior.

Ejemplo:

[NAZ-SOLL] á [GLZ HOURS] * [NAZ-TAGE]

Ahora mismo calcula las sumas. Se supone que calcula los valores por sí mismo y luego los resume.

¿Alguien puede ayudar?

Todo lo mejor,

c4ss10p314

6 REPLIES 6
v-chuncz-msft
Community Support
Community Support

@cassiopeia

Echa un vistazo a ISINSCOPE también.

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

¡Muchas gracias! Ya lo he resuelto creando la medida como una tabla virtual, pero eso probablemente funcionaría también

Resolvi como dices. con la tabla virtual creando ahi mi valor constante. Gracias.

¿pero si uso carios valores debo crerar varias tablas, verdad?

¿Alguna manera mas optima?

Anonymous
Not applicable

Aparentemente es bastante simple.

Usamos RESUME para crear una tabla virtual.

amitchandak
Super User
Super User

@cassiopeia ,

Para la multiplicación, debemos sum(A*B), si no entonces sum(A)* Sum(B) necesita un contexto común

[NAZ-SOLL] =sumx(summarize(Dim,Dim[Common],"_1", [GLZ-STUNDEN],"_2", [NAZ-TAGE])[_1]*[_2])

También, refiera a utilizar el contexto: https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

Greg_Deckler
Super User
Super User

No estoy seguro de seguir, pero tal vez: Medir totales, La palabra final debe obtener lo que necesita:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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