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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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