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.
Hi!
I have two tables - one with Queries by guests, one with Sales to guests.
I need to be able to count, within a given date range, how many Queries converted to Sales.
If a Sale date is BEFORE a Query date, that Sale does not count for the given query.
In the Sample provided, I am looking for the answer '5.'
Thank you!
Amanda
Try a measure like
Sumx(Table1,
var _cnt = count(Filter(Table2, Table1[Contact ID] = Table2[ContactID] && Table2[Date] > Table1[Date]), Table2[Date])
return
_cnt)
Plot with columns from Table 1 columns
Hi @amitchandak , and thank you for this explanation...
When I get to the red part from your sample formula (repasted below) I am unable to add a table name - I can only add an existing measure. Do you have any suggestions for what I might look at?
Sumx(Table1,
var _cnt = count(Filter(Table2, Table1[Contact ID] = Table2[ContactID] && Table2[Date] > Table1[Date]), Table2[Date])
return
_cnt)
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 |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |