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.
I recieved a file with this formula:
KPI 2 (%) = IF(COUNTROWS(FILTER(Projectstatus; Projectstatus[Binnen planning opgeleverd? (KPI 2)] = "Ja"))=0;0; COUNTROWS(FILTER(Projectstatus; Projectstatus[Binnen planning opgeleverd? (KPI 2)] = "Ja"))) / [Totaal Aantal Actieve Projecten]
I want to add a formula that if the answer is "Nee" that wil result in a negatieve counting %.
Im learning alot thx too you guys.
You may refer to the DAX below.
Measure = - ( COUNTROWS ( FILTER ( Projectstatus; Projectstatus[Binnen planning opgeleverd? (KPI 2)] = "Nee" ) ) + 0 ) / [Totaal Aantal Actieve Projecten]
i copied your dax. it still is 100%
KPI 2 (%) = IF(COUNTROWS(FILTER(Projectstatus; Projectstatus[Binnen planning opgeleverd? (KPI 2)] = "Ja"))=0;0; COUNTROWS(FILTER(Projectstatus; Projectstatus[Binnen planning opgeleverd? (KPI 2)] = "Ja"))) / [Totaal Aantal Actieve Projecten]- (
COUNTROWS (
FILTER (
Projectstatus;
Projectstatus[Binnen planning opgeleverd? (KPI 2)] = "Nee"
)
)
+ 0
)
/ [Totaal Aantal Actieve Projecten]
What im doing wrong?
Show us a complete example and the expected output.
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 |
---|---|
73 | |
71 | |
54 | |
38 | |
31 |
User | Count |
---|---|
71 | |
64 | |
62 | |
50 | |
46 |