Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have two tables: Quote and Rate related by QuoteId (see image). A quote can have multiple rates but only one can exist at any given point in time as determined by Begin and EndDates. The sales person is associated to the rate. I've written a calculated column that correctly pulls the sales person from the rates at the time of the quote (QuoteDate).
This answers the question "Who was the sales person for a given rate at the time of the quote?"
Here is my calculated column:
Again, this works, but it seems very slow. It takes about 4-5 minutes of spinning on my desktop. The dataset is only about 120k rows.
My question: is there is a better/faster/easier way to do this? The performance just seems so slow.
Thank you!!
Think the issue here is that you are using Filter on a Fact table, which is generally bad for performance. Any chance you can upload some sample data?
Actually, neither of these are fact tables. No measures are defined. The Rate table is only needed to define the SalesPersonId on the Quote table. The Quote table is then used as a dimenision for a larger dataset (not shown). This is a simplified example for the post.
And I have the Quote and Rate table data available here: sample data file
Thank you!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
81 | |
70 | |
62 |
User | Count |
---|---|
148 | |
116 | |
104 | |
90 | |
65 |