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

Calculate total and leave it unchanged / Calcular total y que no se modifique

Good morning, I hope someone can help me.

What I am looking to do is how I can calculate the total value and that when selecting a value from the table that total value is not modified, but only the total of the column is printed regardless of whether I select a value from the table.

 

Muy buenos dias , espero que alguien me pueda ayuda.

Lo que busco hacer es como puedo calcular el valor total y que al seleccionar un valor de la tabla no se me modifique ese valor total, si no que solo me imprima el total de la columna sin importar que seleccione un valor de la tabla.

Captura de pantalla (131).pngCaptura de pantalla (132).png

1 ACCEPTED SOLUTION
SpartaBI
Community Champion
Community Champion

@Anonymous 
MEASURE = CALCULATE(COUNT('Consilidado Pedientes'[Numero]), REMOVEFILTERS('Consilidado Pedientes')


2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png

Showcase Report – Contoso By SpartaBI


SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Full-Logo11.png

View solution in original post

5 REPLIES 5
SpartaBI
Community Champion
Community Champion

@Anonymous 
MEASURE = CALCULATE(COUNT('Consilidado Pedientes'[Numero]), REMOVEFILTERS('Consilidado Pedientes')


2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png

Showcase Report – Contoso By SpartaBI


SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Full-Logo11.png

Anonymous
Not applicable

Hello, thank you very much for answering my question, but even when selecting a data from the column the total value is not fixed, if not it is modified.

 

Total de Consolidados = CALCULATE(COUNT('Consolidado Pendientes'[Numero]), REMOVEFILTERS('Consolidado Pendientes'[Numero]))
 
Captura de pantalla (134).png
The idea is that no matter what I select in the table, it always shows me the total

@Anonymous You didn't write the formula exactly as I written 🙂 Take a look again on what I put inside the removefilters (the entire table).

Anonymous
Not applicable

Incredible, you're right, thank you very much have a great day

@Anonymous my pleasure 🙂
Check out my showcase report - got some high level stuff there.
https://community.powerbi.com/t5/Data-Stories-Gallery/SpartaBI-Feat-Contoso-100K/td-p/2449543
Give it a thumbs up over there if you liked it 🙂

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.