Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi Everyone
I was wondering how to do this in Power BI.
Basically I have a column which has a row that contains a certain value that I want to use to populate another column entirely. For example below:
Can someone please tell me the power query to do this or if there are options within the menu?
Thanks in Advance
Solved! Go to Solution.
Hi
Try following M code
if Text.End([#"Date/Time"] , 2) = "PM" or Text.End([#"Date/Time"] , 2) = "AM" then null else [#"Date/Time"]
Then Fill Down.
Thank you.
Hi
Try following M code
if Text.End([#"Date/Time"] , 2) = "PM" or Text.End([#"Date/Time"] , 2) = "AM" then null else [#"Date/Time"]
Then Fill Down.
Thank you.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 61 | |
| 43 | |
| 40 | |
| 38 | |
| 22 |
| User | Count |
|---|---|
| 178 | |
| 127 | |
| 116 | |
| 77 | |
| 54 |