Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi! I have a two part question.
I have this calulated column:
Which returns a colum that begins at 1 and goes up by 1 in each row. Friday and Saturday get the same value and Sunday gets nothing. It will reset back to 1 at each month.
Is there a way to have this go in Descending order? I need one column to go from 1-X and another to go from X-1. If I change the second column (FD2) to descending, they both change and nothing happens in the report. I hope that makes sense.
Basically looking for a column that is "days left" from the first one we just created.
Second question - In addition to filtering out for days of the week, is there a way to have the FD colum show the same value as the previous day when it hits a holiday? I have a holiday table I am just not sure how to add that filter to my existing DAX above.
February:
Wednesday 16=12FD
Thursday 17 =13FD
Friday 18= 14
Saturday 19 =14
Monday 21 (Holiday) =14
Thank you in advance!
Solved! Go to Solution.
FD2=
var _FD2 =
Hi @vapid128
I did try that earlier, however it returns a -1 for the Sunday as well when that should be blank. I think I need an IF statement in this case? I am not sure, still very new to power bi!
var _FD2 =
@vapid128
Thank you!!! It is saying that the Syntax for the return is incorrect?
Column =
var _FD2 = _______
RETURN IF(_FD2>0,_FD2-1,BLANK())
that should be no problem
FD2=
var _FD2 =
Hi @vapid128
Is there a way to have just the FD2 end in 0 instead of 1?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
12 | |
11 | |
8 |
User | Count |
---|---|
24 | |
18 | |
12 | |
11 | |
10 |