Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Experts
I cannot see where the error is in the following M Script as a custom column in Power Query
#"Add Custom" = Table.AddColumn(Source, "Status", each
if [#"Dataset"] = "" and Date.Month([Date]) = 4 then "A" else [#"Dataset"]
Hi, @Invesco
Thanks for nilendraFabric's reply. It doesn't look like there's anything wrong with your code, you can try his suggestion and if it still doesn't work, you can share the pbix file with no sensitive data for testing.
Best Regards,
Yang
Community Support Team
HI @Invesco
Give this a try
#"Add Custom" = Table.AddColumn(Source, "Status", each
if [Dataset] = "" and Date.Month([Date]) = 4 then "A" else [Dataset])
Still updating file. is a big PBIX
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.