Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
I have to check whether the data of each items in ‘Item table’ is between the from and To range of ‘context table’
And finally have to get ‘Result table.’
With Excel, I can do it by making “Is the Data In“ table
In power BI, how can I do it?
I want to do it with DAX measure without making “Is the Data In” table if possible
Solved! Go to Solution.
@YonghunLee , if you want to create a new column from table 2 in table1
New Column = maxx(filter(table2,table2[Col1]= table1[col1] && table2[Col2]= table1[col2] ),table2[required_col])
New Column = maxx(filter(table2,table2[Col1]>= table1[col1] && table2[Col1]<= table1[col2] ),table2[required_col])
In case you need a measure to refer this blog. Check-in Current employee, I have removed join from date table and used it
@YonghunLee , if you want to create a new column from table 2 in table1
New Column = maxx(filter(table2,table2[Col1]= table1[col1] && table2[Col2]= table1[col2] ),table2[required_col])
New Column = maxx(filter(table2,table2[Col1]>= table1[col1] && table2[Col1]<= table1[col2] ),table2[required_col])
In case you need a measure to refer this blog. Check-in Current employee, I have removed join from date table and used it
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.