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.
I got a quick question I got the following data
My rows are customer name
my column are weeks
my measure is sum of sales
and another measure from previous week sales
Week 1 Week 2 Week 3
Previous Week diff Previous week diff PreviousWeek Week diff
James blank 100 100 100 50 -50 50 60 10
Fernando
Dresta
diff=week-previous
Since you see on the first week I have blank for the previous because I do not know what that value is because I have not brough it into the data set. Is there anyway to make my diff columns also blank but only for the first week.
Solved! Go to Solution.
diff=if(isblank(previous),blank(),week-previous)
diff=if(isblank(previous),blank(),week-previous)
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 |
---|---|
107 | |
98 | |
78 | |
65 | |
53 |
User | Count |
---|---|
144 | |
103 | |
98 | |
85 | |
64 |