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 Everyone,
Here comes the issue. I have 2 tables, unrelated. One is a Fact table, the other is a new table created to determine a range for each value.
Range Table:
RowNumber | Task | Start Range | End Range |
1 | A | 1 | 9 |
10 | B | 10 | 19 |
20 | C | 20 | 29 |
30 | D | 30 | 39 |
Fact Table:
RowNumber | Task | New Column TBD |
1 | A | A |
2 | A.2 | A |
3 | A.3 | A |
10 | B | B |
11 | B.1 | B |
12 | B.2 | B |
20 | C | C |
21 | C.1 | C |
22 | C.2 | C |
30 | D | D |
31 | D.1 | D |
32 | D.2 | D |
The "New Column TBD" is the outcome Im looking for. It should be created by analysing the Fact Table row number into the range provided in the Range Table.
Thanks for the feedback,
Regards.
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
It is for creating a new column.
New Column TBD =
SUMMARIZE (
FILTER (
Range,
'Fact'[RowNumber] >= Range[Start Range]
&& 'Fact'[RowNumber] <= Range[End Range]
),
Range[Task]
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
Please check the below picture and the attached pbix file.
It is for creating a new column.
New Column TBD =
SUMMARIZE (
FILTER (
Range,
'Fact'[RowNumber] >= Range[Start Range]
&& 'Fact'[RowNumber] <= Range[End Range]
),
Range[Task]
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Great! Ty!
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 |
---|---|
96 | |
94 | |
82 | |
70 | |
64 |
User | Count |
---|---|
116 | |
106 | |
94 | |
79 | |
72 |