User Profile
dcohare
Helper I
Joined 6 years ago
User Widgets
Contributions
Usage Data Won't Refresh
Hi - I am trying to get the Usage Data Metrics for one of my reports. We haven't refreshed the usage metrics since September 2024 and yesterday, we tried to refresh. Got the error that the credentials were wrong, so we updated the credentials. The refresh last night was successful; however, when I go in today, I'm still getting the data from September and the error message saying the credentials are wrong. What do I need to do to update the usage metrics? Thanks! Screenshot showing successful refresh last night: Error message this morning:Solved1.7KViews0likes11CommentsRe: Using SWITCH formula with a measure with a percent in it
So I am an idiot. I had it as a column because I was trying to get it to work as a legend and that wasn't working but if I siwtched it to a measure it works, so I think I am back to square 1 (in trying to get the legend to work) but the formula is working so will mark as solved, thank you!656Views0likes0CommentsUsing SWITCH formula with a measure with a percent in it
I have the a measure that is formatted to a percentage to bring in the percent of female employees: Perm F HC % = SUM('Master HC, Hires, Terms'[Perm F HC]) / sum ('Master HC, Hires, Terms'[Perm HC]) This works fine and outputs a percentage like 32.2%. I am trying to write a formula to basically code a range so that I can use the range to do colour coding. I've tried this: Perm F HC % Range = SWITCH ( TRUE(), [Perm F HC %]<=0.29,"0% - 29%", [Perm F HC %]>=0.30 && [Perm F HC %]<=0.40,"30% - 40%", [Perm F HC %]>=0.41,"41% - 100%"," ") But all of the Perm F HC % Range results are coming in at 41% - 100%, and defaulting the Perm F HC% to 100% (even though it's not). If I change it to this: Perm F HC % Range = SWITCH ( TRUE(), [Perm F HC %]<=29,"0% - 29%", [Perm F HC %]>=30 && [Perm F HC %]<=40,"30% - 40%", [Perm F HC %]>=41,"41% - 100%"," ") The Perm F HC % number stays accurate, but the Perm F HC % Range comes in at 0% - 29%, so it's still not working right. Any idea on how I make this work? TYIA.Solved692Views0likes2CommentsHow to write a formula to translate a number to a text
Hi, I have a column called TimeData[Status] that has the following values: Number Code 1 In Office 2 Vacation 3 Sick 4 Unpaid Absence 5 Banked Hours Leave 6 Floating Holiday 7 Long Service Leave 8 Purchased Leave 9 Parental Leave 10 Family Leave 11 Progressive Leave 12 Short Term Disabiltiy 13 Bereavement Leave 14 Casual Leave 15 Breastfeeding Leave 16 Special Leave 17 Sick Leave 18 Maternity Leave 19 Jury Leave 21 Study Leave 22 Sundry 23 Matrimonial Leave 24 RnR Leave 25 Bad Weather Leave 26 Relocation Leave 100 Out of Office/No Absence Code I need to write one formula, similar to an if statement in Excel that basically says "if TimeData[Status]="1","In Office",if(TimeData[Status]="2","Vacation"," etc. I tried this myself and got the error "DAX comparison operations do not support comparing values of type integer with values of type Text. Consider using the VALUE or FORMAT function." I'm still a basic user so I'm not sure what to do. Can someone help me write a formula that I can use? Even the start of one that I can finish. TYIA!Solved1.2KViews0likes3CommentsConvert Date/Time from UTC to Local Time When Data is in 2 tables
Hi, I am working on an office capacity report. This will have lots of screenshots. I have multiple data tables in Desktop: fromO365Logs: this shows the user, the IP address that they logged into on a given day/time OfficeIP: this shows the IP address of each physical office location OfficeDetails: this shows the details for the location of each physical location. This is linked to the OfficeIP dataset via a Many-to-One relationship. It is also linked to the fromO365Logs dataset, also via a Many-to-One relationship. TimeData: this shows the employee, the date that they submitted hours, and the type of hours they submitted (i.e. regular, OT, vacation, etc. I do not know if this table is relevant to my issue so am including in case The issue is that employees in our locations globally are showing up on the wrong date due to us using UTC. As an example, anyone who worked Monday, November 1 in Australia is showing up in our data charts as having worked on Sunday, October 31. Example: this employee signed in on 10/31 at 10:08 pm UTC, which is actually 11/1 at 8:08 AM local time: Is there any way, or any formula or function, that we can use to convert the date/time from the fromO365Logs dataset based on the Country field in Office Details (using the linked OfficeIP/Office Details)? I would, somehow, have to be able to look at the Country and the date/time and then use the formula to transfer from UTC to local time. Is this possible? Thanks.Solved5.4KViews0likes1CommentColour Coding in Table Based on Data That's In a Different Data Table
Hi - I have two different data tables that are joined via a many-to-one relationship - "TimeData" and "HR HC". In the HR HC data table, I have a field for whether or not an employee works at a site location, but that field is not in the TimeData data table. My question(s) are: Is there a way to bring the data from the HR HC data table into the TimeData table? If not, is there a formula that can be written that says basically "If X employee has 'YES' in the Site Location field, then colour that employee's name purple in the table on the dashboard?" See here to see what I'm looking to do. Thanks for your help!415Views0likes1Comment
Data Privacy
Microsoft Fabric Community and Privacy
To learn more about how we manage your data, please review the Microsoft Fabric Community Data Privacy guide.