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 have a column of Collected at club Percentage. I have different % here. If club has atleast collected 4 or more than 4% it's success. And if its less than 4% , its failed. How do I create a dax for this. Please help
Solved! Go to Solution.
Hello @Samiks95 ,
for new column:
Text = If( [Collected at Club Percentage]< 0.04,"Failed","Success"
and for measure :
Text = If( selectedvalue(table[Collected at Club Percentage])< 0.04,"Failed","Success"
if you find this helpful please accept as solution and a kudos is appreciated
Hello @Samiks95 ,
for new column:
Text = If( [Collected at Club Percentage]< 0.04,"Failed","Success"
and for measure :
Text = If( selectedvalue(table[Collected at Club Percentage])< 0.04,"Failed","Success"
if you find this helpful please accept as solution and a kudos is appreciated
Hi @Samiks95 ,
Please try this measure. It will return your expected results depending how it is used.
Club Grade =
VAR countGreaterThan4Per =
COUNTROWS(
FILTER(
'Sample Data',
'Sample Data'[Decimal Percentage] > 0.04
)
)
RETURN
IF(
HASONEVALUE('Sample Data'[Club]),
IF(
countGreaterThan4Per >= 4,
"Success",
"Fail"
)
)
Results in a table visual
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 |
---|---|
10 | |
9 | |
8 | |
8 | |
8 |
User | Count |
---|---|
13 | |
12 | |
11 | |
10 | |
8 |