Solved! Go to Solution.
Hello,
Thanks again for getting back to me. I did some digging and I have solved my problem!
I read this post https://community.powerbi.com/t5/Desktop/How-to-replicate-Vlookup-in-power-BI/td-p/159810
Which then directed me to this page:
https://docs.microsoft.com/en-us/dax/lookupvalue-function-dax
Which I was able to impliment into my model and effectively 'group' data by using a reference table, creating a relationship and then running the look up to give me new values I used in my visuals.
I'm very happy that I was able to make some formula work as normally I don't understand it all! (learning at I go here)
Thank you very much again.
Hello @ET_Phone2
Do you mean you have a 2 part ID, like State & City? If so, you can add a caclulated column to both tables that combines the key fields into 1 then join the tables on that combined field.
@ET_Phone2 , Can you please share some sample data and show your expected result? If you paste the data from excel directly into your post rather than a picture it makes it easier to work with also.
Hello,
Thanks again for getting back to me. I did some digging and I have solved my problem!
I read this post https://community.powerbi.com/t5/Desktop/How-to-replicate-Vlookup-in-power-BI/td-p/159810
Which then directed me to this page:
https://docs.microsoft.com/en-us/dax/lookupvalue-function-dax
Which I was able to impliment into my model and effectively 'group' data by using a reference table, creating a relationship and then running the look up to give me new values I used in my visuals.
I'm very happy that I was able to make some formula work as normally I don't understand it all! (learning at I go here)
Thank you very much again.
Hello @ET_Phone2
Excellent! Glad you were able to find a solution that works for you and thank you for letting us know and sharing the links.
Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.
User | Count |
---|---|
436 | |
147 | |
121 | |
51 | |
49 |
User | Count |
---|---|
449 | |
133 | |
121 | |
80 | |
71 |