Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Is it possible to do this same type of calculation in powerbi that I did in excel?
Basically I have an alternate count I'm using but it's based on what the value of the field is.
=IF(AND(ISNUMBER(SEARCH("Director*",C455)),F455="Task"),1,
IF(AND(ISNUMBER(SEARCH("Director*",C455)),F455="Collaborative"),2,
IF(AND(ISNUMBER(SEARCH("Partner*",C455)),F455="Task"),1,
IF(AND(ISNUMBER(SEARCH("PARTNER*",C455)),F455="Collaborative"),3,
IF(AND(C455="Project Room",F455="Collaborative"),0.8,
IF(B455="Group",0.8,
IF(E455="Ancillary",1,1)))))))
Solved! Go to Solution.
@lasmithfla , Something like this
IF(AND(SEARCH("Director",[Column1],,0)>0,[Column2]="Task"),1,
IF(AND(SEARCH("Director",[Column1],,0)>0,[Column2]="Collaborative"),2,
IF(AND(SEARCH("Partner",[Column1],,0)>0,[Column2]="Task"),1,
IF(AND(SEARCH("PARTNER",[Column1],,0)>0,[Column2]="Collaborative"),3,
IF(AND([Column1]="Project Room",[Column2]="Collaborative"),0.8,
IF([Column4]="Group",0.8,
IF([Column5]="Ancillary",1,1)))))))
Better to use Switch : https://www.youtube.com/watch?v=gelJWktlR80
@lasmithfla , Something like this
IF(AND(SEARCH("Director",[Column1],,0)>0,[Column2]="Task"),1,
IF(AND(SEARCH("Director",[Column1],,0)>0,[Column2]="Collaborative"),2,
IF(AND(SEARCH("Partner",[Column1],,0)>0,[Column2]="Task"),1,
IF(AND(SEARCH("PARTNER",[Column1],,0)>0,[Column2]="Collaborative"),3,
IF(AND([Column1]="Project Room",[Column2]="Collaborative"),0.8,
IF([Column4]="Group",0.8,
IF([Column5]="Ancillary",1,1)))))))
Better to use Switch : https://www.youtube.com/watch?v=gelJWktlR80
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
69 | |
68 | |
40 | |
29 | |
26 |
User | Count |
---|---|
88 | |
49 | |
45 | |
38 | |
37 |