Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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
Solved! Go to Solution.
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
Have you tried "Measure Tools" after clicking your Measure?
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 23 | |
| 14 | |
| 10 | |
| 6 | |
| 5 |