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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Guyloucou
Frequent Visitor

Calculate Column

Hello,

 

I create a new column (TOTAL DAYS DELAY Design) to calculate days number between two Date columns. If the 2 dates differed I can see how many days in between. If not the cell is empty and this is perfect.

 

But the problem is I created an other column (Respecting Date) to show if the anticipated date is the same of the delivery date or if not. If the 2 dates are same and no difference in the column TOTAL DAYS DELAY Design (empty cell)  put 1 in the column Respecting Date and if not put 0. I have to calculate how many projects respecting the anticipated dates and give a % on the total of project.

 

Respecting date (new column) = IF('Design Estimate'[TOTAL DELAYS DAYS Design] < 1, 1, 0)

 

Can you let me what is wrong in this measure, please.

 

 

5 REPLIES 5
Anonymous
Not applicable

I think your question in not pretty clear for me....

Anonymous
Not applicable

Hi @Guyloucou,

 

Can you please provide some sample data to help us understand your requirement?

 

Regards,

Xiaoxin Sheng

The third screenshot

 

Total Delay.PNG

Anonymous
Not applicable

Hi @Guyloucou,

 

I test on sample file without any issue, can you please provide your pbix file to test? It will be help for troubleshooting.

 

Regards,

Xiaoxin Sheng

Sorry I was absent yesterday.

 

CountMe.PNGCountTrue.PNG

 

 

Can you tell me what is wrong, please?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.