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 all,
I need help in writing this code in Query Editor.
I have created column in data section with below mentioned code:
MAX_ICE_ID = CALCULATE(MAX(TransactionDataTrackerHK021908[ICERecordID(ReadyPublish)]),FILTER(TransactionDataTrackerHK021908,TransactionDataTrackerHK021908[OriginalICERecordID(ReadyPublish)]=EARLIER(TransactionDataTrackerHK021908[ICERecordID(ReadyPublish)])))
However, I need the same logic in query editor, but above doesnt work in it.
Thank you
Abhijit
Solved! Go to Solution.
Hi @Anonymous,
You can add a conditional column in Query Editor.
Power Query:
#"Added Conditional Column" = Table.AddColumn(#"PreviousStep", "Custom1", each if [#"ICERecordID(ReadyPublish)"] = [#"OriginalICERecordID(ReadyPublish)"] then [#"ICERecordID(ReadyPublish)"] else null)
Best regards,
Yuliana Gu
Hi @Anonymous,
You can add a conditional column in Query Editor.
Power Query:
#"Added Conditional Column" = Table.AddColumn(#"PreviousStep", "Custom1", each if [#"ICERecordID(ReadyPublish)"] = [#"OriginalICERecordID(ReadyPublish)"] then [#"ICERecordID(ReadyPublish)"] else null)
Best regards,
Yuliana Gu
Hello @Anonymous,
You need to use M Query Language in Advance Editor.
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 |