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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
jay_patel
Helper IV
Helper IV

Need a calculated column to get available days of employees.

Hello All

 

I have created a column named as Working days for all month and it's working fine in matrix visual, on the other side I have a measure for available days of employees and that also working fine but in Card , when i am dragging it into matrix with Working days then its not working properply along with working days, attaching Screenshots for both the cases. i.e., With Available days & Without Available days. So I want a calculated column instead using measure for Available days.

 

the measure i have used , 

Available Days = CALCULATE([Workdays]-'Leaves'[leaves days],USERELATIONSHIP('Date'[Date],'Leaves'[FromDate]))MicrosoftTeams-image (1).pngMicrosoftTeams-image (2).png

 

1 REPLY 1
amitchandak
Super User
Super User

@jay_patel ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.