Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello all,
I want to ask you for a help with my DAX formula.
I have dates (blue text on the left), but some of the dates do not have assigned value (measure "Cil splnen"). I want to skip those dates and return the next date that has a value. The desired output is in red - for third date instead of 16.7. I want to return 14.7.
Solved! Go to Solution.
@fozjugho , Try these 2 measures, use second one in visual for <= 3 or =3
M1 = Countx(Filter(Values(Table[Date]) , Not(Isblank([Cil splnen])) ), [Date])
M2 = Sumx(Filter( Values(Table[Date]) , [M1] <=3 ), [Cil splnen] )
@fozjugho , Try these 2 measures, use second one in visual for <= 3 or =3
M1 = Countx(Filter(Values(Table[Date]) , Not(Isblank([Cil splnen])) ), [Date])
M2 = Sumx(Filter( Values(Table[Date]) , [M1] <=3 ), [Cil splnen] )
Thank you, it helped
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
11 | |
10 | |
10 | |
10 |
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
8 |