Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
81 | |
52 | |
39 | |
34 |
User | Count |
---|---|
95 | |
78 | |
52 | |
49 | |
47 |