The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I currently have the below visual, but have been asked if it's possible to just have one date filter, which I believe it is from all of the reading on these forums, but I can't seem to make the DAX work. The Assigned Date and Closed Date are in the same table.
The columns displayed are as follows:
I have looked at multiple threads on the community and followed instructions on creating relationships with a calendar table as well as trying USERELATIONSHIP, but I'm a novice at DAX and can't get it to work. Any help would be much appreciated
Solved! Go to Solution.
That is a common pattern where your fact table is linked to the Calendar table twice, once with an active relationship on the Assigned Date and then with an inactive relationship on the Closed Date. Then you use USERELATIONSHIP to modify the data model for your close measures.
Thanks Ibendlin
That's how I have the relationships set up. I'm struggling with the correct syntax for USERELATIONSHIP to make it work.
I've tried the following:
Your code seems to be correct. Maybe there is something else going on. Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.
Thanks for confirming that Ibendlin, it's working now. I double checked all my dependent measure and made adjustments where needed.
That is a common pattern where your fact table is linked to the Calendar table twice, once with an active relationship on the Assigned Date and then with an inactive relationship on the Closed Date. Then you use USERELATIONSHIP to modify the data model for your close measures.
User | Count |
---|---|
16 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
23 | |
13 | |
13 | |
8 | |
8 |