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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

DAX formula optimization question

Hi All,

 

I’m trying to implement a DAX column calculation in order to determine if a person is 100% non-billable or partial billable. I have a column in a table which states the ‘Today’s commitment rate’, those values range from 0,00 (a person is non-billable), 0,01 – 99,99 (implies that a person is partial billable) and 100 or greater (a person is fully billable).

 

I'm using the following formula to determine in which category someone belongs:

 

VIP calculation = IF(ISBLANK(Candidate[Todays_commitment_rate__c]); BLANK();
	IF(Candidate[Todays_commitment_rate__c] = 0; "100% VIP"; 
		IF(Candidate[Todays_commitment_rate__c] <100; "Partial VIP"; BLANK())))

I'm wonding if anyone can suggest anything that might optimize the formula.

 

Thanks in advance for your help.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,

Are you experiencing performance issues with your current formula? How large is the table where you want to create the new column?

Another way to create the desired column could be to try:

 

VIP Calculation = Switch(True();

                                       Candidate[Todays_commitment_rate__c] = 0 ;"100% VIP"; 
                                       Candidate[Todays_commitment_rate__c] < 100 ;"Partial VIP";
                                       Blank()
                                 )

 

Try and see if the performance is improved.

 

BR,

Magnus

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi,

Are you experiencing performance issues with your current formula? How large is the table where you want to create the new column?

Another way to create the desired column could be to try:

 

VIP Calculation = Switch(True();

                                       Candidate[Todays_commitment_rate__c] = 0 ;"100% VIP"; 
                                       Candidate[Todays_commitment_rate__c] < 100 ;"Partial VIP";
                                       Blank()
                                 )

 

Try and see if the performance is improved.

 

BR,

Magnus

Anonymous
Not applicable

Hi Magnus,

 

Thank you very much, the performance increased by adding the Switch functionality to the equation

 

Greetings,

Ronald

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.