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.
Seeking help to 0 out all under each highlighted value, as there is no data for these months. I'm assuming I can incorporate an ISBLANK() function, but having trouble with the syntax. Here's my table:
Here is the syntax for the three RTAct coulmns:
Thanks!!
Solved! Go to Solution.
Hi @PBrainNWH ,
Please have a try.
RTAct FAN =
VAR CurrentDate =
MAX ( 'Calendar'[Date] )
VAR CurrentMonth =
MONTH ( CurrentDate )
VAR CurrentYear =
YEAR ( CurrentDate )
VAR HasData =
NOT ISBLANK ( SUM ( 'Combined VE PL Pared (2)'[Actual Amount] ) )
RETURN
1
= IF (
HasData,
CALCULATE (
SUM ( 'Combined VE PL Pared (2)'[Actual Amount] ),
FILTER (
ALLSELECTED ( 'Calendar'[Date] ),
'Calendar'[Date] <= CurrentDate
&& 'Combined VE PL Pared (2)'[Department Code] = "30-FAN"
)
),
IF (
CurrentMonth > 1,
CALCULATE ( [RTAct FAN], DATE ( CurrentYear, CurrentMonth - 1, 1 ) ),
BLANK ()
)
)
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @PBrainNWH ,
Please have a try.
RTAct FAN =
VAR CurrentDate =
MAX ( 'Calendar'[Date] )
VAR CurrentMonth =
MONTH ( CurrentDate )
VAR CurrentYear =
YEAR ( CurrentDate )
VAR HasData =
NOT ISBLANK ( SUM ( 'Combined VE PL Pared (2)'[Actual Amount] ) )
RETURN
1
= IF (
HasData,
CALCULATE (
SUM ( 'Combined VE PL Pared (2)'[Actual Amount] ),
FILTER (
ALLSELECTED ( 'Calendar'[Date] ),
'Calendar'[Date] <= CurrentDate
&& 'Combined VE PL Pared (2)'[Department Code] = "30-FAN"
)
),
IF (
CurrentMonth > 1,
CALCULATE ( [RTAct FAN], DATE ( CurrentYear, CurrentMonth - 1, 1 ) ),
BLANK ()
)
)
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
116 | |
83 | |
48 | |
38 | |
28 |
User | Count |
---|---|
188 | |
76 | |
73 | |
54 | |
45 |