Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
tangutoori
Helper III
Helper III

Non Blank value

 

Dear Team,

 

i need to get non blank value in my result.
if TOTAL FSC Current is blank for max date and maximun serial number, then consider previous record.
Target FSC at MAX Date2 =

 

Var max_date = Max(Data2[Actual Changed_Date])
Var max_ = CALCULATE(sum(Data2[Target FSC Current]),
    ALLEXCEPT(Data2,Data2[latest PNM C.C]),
    Data2[Actual Changed_Date]= max_date,
    Data2[SerialNumber] = max(Data2[SerialNumber]))
 return max_
 
we can keep atleast action <> QTY Change also .
 

 

tangutoori_2-1681404903001.png

 

tangutoori_3-1681404963314.png

 
1 ACCEPTED SOLUTION
tangutoori
Helper III
Helper III

Target FSC at MAX date NoBlank =
 CALCULATE(MAX('Test Data_2'[Target FSC Current]), filter('Test Data_2',[Actual Changed_Date] =
 maxx(FILTER('Test Data_2',[Target FSC Current]<> blank()),[Actual Changed_Date])))

View solution in original post

1 REPLY 1
tangutoori
Helper III
Helper III

Target FSC at MAX date NoBlank =
 CALCULATE(MAX('Test Data_2'[Target FSC Current]), filter('Test Data_2',[Actual Changed_Date] =
 maxx(FILTER('Test Data_2',[Target FSC Current]<> blank()),[Actual Changed_Date])))

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors