cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors