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
Hi experts,
I have the following slicer to select only 1 month, but now the users wants to select 1 or MORE months.
Currently in my measure i have a the SUMX with the following Filter:
Solved! Go to Solution.
Hi @gomezc73 ,
You may try the following expression
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @gomezc73 ,
You may try the following expression
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Worked perfect!!. thank you
Hi @gomezc73 ,
The filter in DAX is selecting on the context, not filtering on the table data, I created simple samples to illustrate this for you:
Filter A = CALCULATE(SUMX('Sales','Sales'[Sales]),FILTER('Sales','Sales'[Type]="A"))
Total = SUMX('Sales','Sales'[Sales])
For one , It filters out sums of type A , for another , it doe not have any filters. And your goal is to filter the entire table dynamically based on time, not to filter the data in the table. So you can use the simple SUMX function to do just that.
Please feel free to correct me and provide more information if I have misunderstood you!
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi, thank you for your early response.
I need explain how my reports works, because it is more complicated.
I have a file of SALES/products by months, and the original request is compare sales in diferent months.
To do that, i created two tables with the following comand:
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 |
---|---|
93 | |
85 | |
84 | |
73 | |
49 |
User | Count |
---|---|
142 | |
133 | |
110 | |
68 | |
55 |