Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have a table that contains same ID in two different rows.
I want see if they have same "Totals" and then If yes, state "TRUE", if not, state "FALSE"
I am doing this in powerquery because I'll use this information in a diffrent table.
New Column is what I need to build:
ID | Type | Total | New Column |
1234 | NA | 58 | TRUE |
1234 | Voucher | 58 | TRUE |
ID | Type | Total | New Column |
458 | NA | 58 | FALSE |
458 | Voucher | 57 | FALSE |
Hi @Anonymous,
is your problem solved?
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Hi @Anonymous ,
check this out.
Regards,
Marcus
Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Try
if(isblank(countx(filter(table,table[id]= earlier(table[id]) && table[Total]<> earlier(table[Total]))),"FALSE","TRUE")
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges
Connect on Linkedin
thank you @amitchandak but I need to do this in "Power Query". With this formula you have me it will work?
This is DAX column formula for Power BI. You need to check for Power Query.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |