Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
I have an Amount column that also have some null's.
I'm using this expression to create a new column:
= Table.AddColumn(#"Expanded Table", "Selected", each if [Amount USD] < 50000 and [Company] = "A" then "Yes" else if [Amount USD] is null and [Company] = "A" then "Yes" else "No")
The resulting column is giving me errors whenever there was a null of the Amount USD Column.
Appreciate your help,
Guillermo
Solved! Go to Solution.
Hi @GuilleATT ,
Clean up your NULL values in Power BI to 0 by replacing them. As your column is a AMOUNT column - you should clean it and have only numeric values in it.
Once you replace these NULLS wit Zeroes, modify your formula against NULL condition.
It will not give error.
Thanks,
Pragati
Hi @GuilleATT ,
Clean up your NULL values in Power BI to 0 by replacing them. As your column is a AMOUNT column - you should clean it and have only numeric values in it.
Once you replace these NULLS wit Zeroes, modify your formula against NULL condition.
It will not give error.
Thanks,
Pragati
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 6 | |
| 5 |