March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi, I have a summarized table based on Sales table. The summarized table does not have dates.
I wand to show graphes from the summarized table, filter by months.
If I use a slicer with months for the sales table, but the summarized table does not change acording to the slicer (does not re-generated).
The only way I can do this is to filter the sales table in Query Editor.
Any better idea?
Solved! Go to Solution.
Hi @gtamir1 ,
I don't have access to the link you shared, so I created the following sample data.
You can try using the query parameters to filter the months.
1. First add column [Year_Month] as a new query, then remove the duplicate values.
2. Create a parameter and references query Year_Month.
3. Filter the rows in column [Year_Month] equal to the parameter.
4. Then you can modify the parameter to change the data loaded into the model.
Alternatively, if you are using the DirectQuery mode and the data source meets the following restrictions, then you can try using the Dynamic M query parameters.
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @gtamir1 ,
I don't have access to the link you shared, so I created the following sample data.
You can try using the query parameters to filter the months.
1. First add column [Year_Month] as a new query, then remove the duplicate values.
2. Create a parameter and references query Year_Month.
3. Filter the rows in column [Year_Month] equal to the parameter.
4. Then you can modify the parameter to change the data loaded into the model.
Alternatively, if you are using the DirectQuery mode and the data source meets the following restrictions, then you can try using the Dynamic M query parameters.
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@v-kkf-msft I tested it, it werks.
Now I have to find the way to "no parameter" and away to choose multiple values.
Thank you.
@v-kkf-msft Interesting solution.
What to do for multiple selection?
Also I'd like to see all period in one tab and filtered period on other tabs.
Thanks
Thnks a lot. I'll write you on sunday because I am not with my laptop.
What is the problem with the link, maybe you should ask for ppermition.
Thanks @Kumail . Here is a link to the file. The slicer will not filter the 3 top numbers because they come from Running total file. How can I cause the running Total file to recalculate upon filter change?
https://drive.google.com/file/d/1hVwYy8IaeOeLcSagpFtkNRlxkaLZVLj7/view?usp=sharing
Hello @gtamir1
The image is attached for your reference.
https://drive.google.com/file/d/1JBcpiPsdnW0kpfupiZktCPi2fNLNicTK/view?usp=sharing
Regards
Kumail Raza
Did this help? Kudos are appreciated
Consider Accept it as the solution to help the other members find it more quickly
Hi @Kumail
Thank you for your effort.
I don't know what you did but the numbers are incorrect.
If I filter the creditcard file in power querry for one year, this is what @v-kkf-msft does too with a parameter, I then count cards in "C" in the summarized table and get different numbers then yours.
You can export it to excel and play with it.
Hello @gtamir1
Count of Type A comes from another DAX table Running total by credit card which doesn't have dates. Therefore, in order to get the dates working, it was linked to the original credit card table with bi filtering in the model. When you filter the records by dates, the credit card table filters the DAX table "Running total by credit card" and counts the records as per your defined logic.
Data in Power Query Editor is not available since it requires credentials to access.
I hope this helps.
Regards
Kumail Raza
Did this help? Kudos are appreciated
Consider Accept it as the solution to help the other members find it more quickly.
Yes I just sent the importent tables. "creditcard" is the sales, and
Can you tell us a bit about your architecture?
Do you have a full sales table in a source system and you're only importing a summarised version?
Tables don't recalculate based on slicers. They're loaded at processing time.
You have some options:
1) Import the full sales table, if load time is an issue look at incremental load.
2) Import a table that is still summarised but only down to the grain you need. (Eg group by month/year in your case.
3 Explore direct query options. Leaving data in the source system.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
132 | |
90 | |
88 | |
64 | |
58 |
User | Count |
---|---|
203 | |
141 | |
107 | |
73 | |
70 |