Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,everyone! I have DAX problem.
1 | 3 | 6 |
1 | 6 | 10 |
1 | 10 | 18 |
1 | 18 | 20 |
1 | 21 | 23 |
2 | 3 | 5 |
2 | 5 | 10 |
2 | 11 | 13 |
1 | 3 | 20 |
1 | 21 | 23 |
2 | 3 | 10 |
2 | 11 | 13 |
Hello @Aydan_Abdul,
Can you please try this:
CombinedRanges =
VAR SortedTable = SUMMARIZE(FrequencyTable, FrequencyTable[id], FrequencyTable[freq_min], FrequencyTable[freq_max])
RETURN
GENERATE(
DISTINCT(SortedTable[id]),
ADDCOLUMNS(
FILTER(SortedTable, [id] = EARLIER([id])),
"CombinedFreqRange",
IF(
EARLIER(SortedTable[freq_max]) >= SortedTable[freq_min],
MAXX(FILTER(SortedTable, [id] = EARLIER([id]) && EARLIER(SortedTable)[freq_max] >= SortedTable[freq_min]), SortedTable[freq_max]),
SortedTable[freq_max]
)
)
)
Syntax is wrong. Thanks a lot!
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
105 | |
99 | |
99 | |
38 | |
37 |
User | Count |
---|---|
157 | |
120 | |
74 | |
72 | |
63 |