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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Elisa112
Helper V
Helper V

Quick measure output in wrong format

Hello

I have created a couple of quick measures to calculate the difference in two dates for a specific usergroup, as below

 

1. WorkingDaysDiff = NETWORKDAYS(SELECTEDVALUE('Engagements'[Referral Date]), (SELECTEDVALUE('Engagements'[Eligibility Confirmation Date])))

 

2.  KPI2test = NETWORKDAYS(SELECTEDVALUE('Engagements'[Eligibility Confirmation Date]), (SELECTEDVALUE('Meeting List'[Date/Time])))

 

Now the first measure outputs in the correct whole number format (e.g 1) , whereas the second measure provides the out put as (eg 32245) rather than (1,2,3,4 etc).

 

I do not understand why the first measure outputs correctly and the second one does not. I have tried changing the format on the ribbon etc to no avail.  Does anyone have a solution for this, I have been away from powerbi for a while so Im a bit rusty!

 

Thanks in advance

1 ACCEPTED SOLUTION

Hiya

I have checked and still giving the incorrect output

View solution in original post

5 REPLIES 5
v-zhangti
Community Support
Community Support

Hi, @Elisa112 

 

Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it. If this fails to resolve, can you provide more example data and desired output?

 

Best Regards

Tom_Y
Advocate II
Advocate II

Have you tried "Measure Tools" after clicking your Measure?

Tom_Y_0-1702647381299.png

 

Hi Tom

 

Yes I have tried, no luck

have you checked the format of that column 'Meeting List'[Date/Time] whether it's a date or it's "date time".

Sometimes I got funny result due to incorrect data format in Power query.

Hiya

I have checked and still giving the incorrect output

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.