The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello Team,
Can you pls help me to get excel formula in Power BI.
Attaching Excel(with formula) and PBIX file:
Excel: Excel File
PBIX: PBIX File
Solved! Go to Solution.
@Chandrashekar , Can you explain what you need.
Power bi has lookupvalue and search, find, containssring
https://docs.microsoft.com/en-us/dax/lookupvalue-function-dax
https://docs.microsoft.com/en-us/dax/search-function-dax
Also, we can search value on column in another column like
new column =
var _col = [columnA] //Current row value
return
maxx(filter(Table, [columnB] =_col ), [ColumnC]) // Search full column B and return Column C
Hello Amit,
In Excel Sheet1 contains Group, Country code and Country name.
In sheet2 I need formula where formula should search [Group] from Sheet1 -> [Group] Sheet2 and get value from Sheet1(Col B).
Regards,
Chandrashekar B
@Chandrashekar , These will become two tables in power bi
a new column in table 1 using DAX
sumx(filter(Table2, Table2[Group] = Table1[Group]), table2[value])
or
MAXX(filter(Table2, Table2[Group] = Table1[Group]), table2[value])
refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8
Hello Amit,
I can able to get result for one set of data but same formula not working for another set where I have short description.
Regards,
Chandrashekar B
Hello Amit,
Thanks. It got resolved.
Regards,
Chandrashekar B
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |