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.
Hello,
I have these tables (Name = Subscription Name):
I would like to determine the Entity of each record (in the first Table, taken from the Second Table), However, the Name can have two or more Entities, which means I have to evaluate when the record belongs to which Entity based on the FROM/TILL Columns. So Basically I want to display a New column in the First Table that will show the proper entity for the Date.
Can you help me with this?
Solved! Go to Solution.
@vojtechsima , a new column in table 1
maxx(filter(Table2, Table1[Name] = Table2[Subscription Name] && Table1[Date] >= Table2[from] && (Table1[Date] <= Table2[to] || isblank(Table2[to]))), Table2[Entity])
@vojtechsima , a new column in table 1
maxx(filter(Table2, Table1[Name] = Table2[Subscription Name] && Table1[Date] >= Table2[from] && (Table1[Date] <= Table2[to] || isblank(Table2[to]))), Table2[Entity])
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 |
---|---|
109 | |
96 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |