Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
When I apply a filter on a virtual table, it removes the total value which I'm looking for.
a) Without FILTER:
2) FILTER on virtual table SUMX:
Why does the total hide when I filter the virtual table that I've created before? My expected result should be 8 as it is the sum of 1 shown in the same table. How to solve it?
Thanks
Solved! Go to Solution.
Hi @ImSctm ,
You can create another new measure as below base on the measure [Numero Hores 3002 “PDIA” MesActualPROVAAA_INCREMENTEN] to get the total value and replace the measure [Numero Hores 3002 “PDIA” MesActualPROVAAA_INCREMENTEN] with the new measure on the table visual:
Measure =
SUMX (
VALUES ( 'Productivitat DIA'[CODI FEINA] ),
[Numero Hores 3002 “PDIA” MesActualPROVAAA_INCREMENTEN]
)
In addition, you can refer the following links to try to solve your problem...
Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand
Dax for Power BI: Fixing Incorrect Measure Totals
If the above one can't help you get the expected result, please provide some raw data in your table (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 link to share the required info:
How to provide sample data in the Power BI Forum
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
Thanks @amitchandak for answering. Much appreciated 🙂
Unfortunately what I've tried still didn't work. It's returning same outcome where number "8" still hidden.
Code:
VAR Diferencia_Hores =
Any suggestions?
Thanks!
Hi @ImSctm ,
You can create another new measure as below base on the measure [Numero Hores 3002 “PDIA” MesActualPROVAAA_INCREMENTEN] to get the total value and replace the measure [Numero Hores 3002 “PDIA” MesActualPROVAAA_INCREMENTEN] with the new measure on the table visual:
Measure =
SUMX (
VALUES ( 'Productivitat DIA'[CODI FEINA] ),
[Numero Hores 3002 “PDIA” MesActualPROVAAA_INCREMENTEN]
)
In addition, you can refer the following links to try to solve your problem...
Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand
Dax for Power BI: Fixing Incorrect Measure Totals
If the above one can't help you get the expected result, please provide some raw data in your table (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 link to share the required info:
How to provide sample data in the Power BI Forum
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
@ImSctm , Move this filter to group by and try. Means use filter on top of group by in var and then have same return
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
87 | |
81 | |
64 | |
49 |
User | Count |
---|---|
123 | |
109 | |
88 | |
68 | |
67 |