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 Community,
I have 2 tables. One is a Sales Data table and one is a date table.
There are 2 dates in the Sales Data table - Close Date and Created date.
Within my dates table I have added a column which allow me to filter for the current quarter, depending on today's date:
Quarters Passed = if(Dates[Date] >= TODAY(),-(DATEDIFF(TODAY(),Dates[Date],QUARTER)),DATEDIFF(Dates[Date],TODAY(),QUARTER)),
I can then pull this column into a filter and select 0 and it will always show the current quarter.
I have my Sales Data table related to my Date table with the close date. So far, I have only needed to use the close date.
I have just received a request to show the number of opportunites that were created in the current quarter. Through some research I was able to find the USERELATIONSHIP syntax so I thought I could use this to create a new column in my dates table so that I could filter for opportunities in the current quarter. I created a second relationship between the tables, this time using the Created Date.
My questions is whether this is possible and if so, how do I utilise the USERELATIONSHIP in the above code to create a new column called Quarters Passed Created?
Thanks
Solved! Go to Solution.
See my Open Tickets quick measure, it was designed for this kind of scenario.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364
See my Open Tickets quick measure, it was designed for this kind of scenario.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364
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 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |