Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I've got a formule now which im sure that could be so much better.
The formule is.
Lorem Ipsum =
IF(AND(SessionDetails[ReferredById]=75665,SessionDetails[User1Id]=1),1,
(IF(AND(SessionDetails[ReferredById]=75665,SessionDetails[User1Id]=2),1,
IF(AND(SessionDetails[ReferredById]=75665,SessionDetails[User1Id]=3),1,
(IF(AND(SessionDetails[ReferredById]=75665,SessionDetails[User1Id]=4),1,0))))
I want all the UsersId1 to give back a 1 if the column ReferredByID = 75665,
So IF(referredbyid = 75665 && userid = 1, or = 2, or = 3, or = 4,) 1 , 0
But i think this could be made so much easier and cleaner, my powerbi has trouble using it.
Thanks in advance
Solved! Go to Solution.
You could try this- Create a new column as follows
Formula = if(Table[Referred by] = 75665 && Table[User id]=1, 1, 0)
I got this output:
mm i dont think i was clear enough.
I want all the UsersId1 to give back a 1 if the column ReferredByID = 75665,
So IF(referredbyid = 75665 && userid = 1, or = 2, or = 3, or = 4,) 1 , 0
Something like that
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
123 | |
78 | |
48 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |