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.
So I have this data and I have some null values that doesn't work for me, and I need to replace them with the value from the left column, do you know if it's possible?
This is the snapshot of the data I have:
So for example second row in "abril-2020" I'd need to have the second row value from "marzo-2020".
Thanks in advance.
Solved! Go to Solution.
To avoid that issue, before you unpivot, you can replace all the nulls with a value you'll replace back with null later. Highlight all your columns to unpivot and replace values, replacing "null" with 9999999 or something like that. You then unpivot and then replace the 9999999 with null, fill down, etc.
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Yes, the thing is in the previous step I had it unpivoted but as this Item Code didn't any movement during april the database table didn't save the record for that month, here I attach a snapshot of the data before the unpivot:
So when I unpivot the the table, and because other Item Codes have had any movement during april it shows me the null value.
To avoid that issue, before you unpivot, you can replace all the nulls with a value you'll replace back with null later. Highlight all your columns to unpivot and replace values, replacing "null" with 9999999 or something like that. You then unpivot and then replace the 9999999 with null, fill down, etc.
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
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.