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 all,
I cannot figure out how to make calendar slicer work in this scenario. I want to connect complete calendar to dataset with several calendar columns.
This is my dummy dataset, where '1' stands for program completion, date is completion date. Except for 'user', all are calculated columns taken from core dataset.
user | program 1 | program 1 date | program 2 | program 2 date | program 3 | program 3 date |
a | 1 | 1/1/2024 | 1 | 1/1/2024 | 1 | 1/1/2024 |
b | 1 | 1/2/2024 | 1 | 1/2/2024 | ||
c | 1 | 1/3/2024 | 1 | 1/3/2024 | 1 | 1/3/2024 |
d | 1 | 1/4/2024 | 1 | 1/3/2024 | ||
e | 1 | 1/5/2024 | ||||
f | 1 | 1/5/2024 |
Now, I wanted to connect a calendar dataset that is complete calendar (not just days users completed programs). But I cannot seem to make it work even if I connect the calendar to all 'date' columns. It seems to do something but I always get the total count wrong.
Do you guys have any idea on how to make this work? Thanks a lot!
Solved! Go to Solution.
Hi, I found a solution in the meantime! Tutorial on youtube but it basically uses 'userelationship' function and it works like a charm.
Hi @ksab23
If I understand correctly, you are trying to filter the table by the calendar table.
Perhaps the following will help.
The following operations are performed in Power Query.
1. Unpivot Columns by selecting the three columns shown in the figure
2. Do this again, selecting the three columns shown for Unpivot Columns
3. To do some organizing, I deleted the "Attribute.1" column and renamed some columns.
Close & Apply
My calendar table
Result:
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks!
This would be a great solution, however, my columns are calculated ones, and unless I am missing something I cannot edit them in power query no?
I have to get data to my user list dataset because the program completion dataset contains only users who completed specific program, not those who didn't. So basically 'user' (user list) is the core data and I am pulling information from several other 'completion lists' to get calculated columns.
Hi, I found a solution in the meantime! Tutorial on youtube but it basically uses 'userelationship' function and it works like a charm.
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 |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |