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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 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.

October NL Carousel

Fabric Community Update - October 2024

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