Forum Discussion
Anonymous
6 years agoNot applicable
If function not working
Hello all, I am new to Power BI and I am trying to write an IF function in a column. I have two different tables that I need to pull data from. THe column needs to display "If the catagory on...
- 6 years ago
Hi Anonymous
As Greg_Deckler Suggested..
you can try below formula..your col name=IF(HR[Category]="PBL",LOOKUPVALUE(Budget[Total Budgeted Base Salary],Budget[Combo Key],HR[Combo Key]),(HR[Annual Rate or max(Mid-Range Rate, Last Occupant Salary)]*HR[Funding Distribution]/100) )Hope it will solve your issue..Regards,snandy
Anonymous
6 years agoNot applicable
When I try to to the "Related" function it does not give me the option to select anything from the budget table. How can I post the file for you to look at?
edhans
6 years agoCommunity Champion
Drop it in dropbox, onedrive, etc.
How to get good help fast. Help us help you.
How to Get Your Question Answered Quickly
How to provide sample data in the Power BI Forum
- Anonymous6 years agoNot applicable
- edhans6 years agoCommunity Champion
Thanks. Investigating now....
- edhans6 years agoCommunity Champion
Anonymous This is a subset of your model for just the HR and Budget tables.
What are you doing in the HR table, and how would you expect it to know which record(s) to get from the Budget table?
You cannot use RELATED with this kind of relationship. Not even sure if you can use RELATEDTABLE, though I'll have to investigate more.