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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
pbi_newie
Frequent Visitor

FTE column not showing grand total

Hello,

 

I am pulling together data from a live database (via SSAC) and therefore have no control over the dataset. Below is some FTE data i have pulled fromt he source and as you can see, the last column shows a FTE count however the table does not total this column.

 

The data type for the FTE column is TEXT however since it is a live connection, i am unable to edit the data type.

 

pbi_newie_1-1704492240843.png

 

 

I am a complete novice when it comes to DAX so any help would be greatly appreciated.

 

Thank you!

 

pbi_newie_0-1704491847766.png

 

4 REPLIES 4
pbi_newie
Frequent Visitor

@CoreyP  the dataset always has a value of 1 for FTE from what i can see.

Oh, right on. So rather than trying to convert text to number, create a DAX measure that counts the rows. 

 

FTE = COUNTROWS( [YourTable] )

@CoreyP  Thanks for your suggestion - this doesn't quite work in my case as even though the FTE column always has a value of 1, there are multiple recurrences of Employees therefore i have gone with the below. Let me know if there is a better way of doing this.

 

FTE = DISTINCTCOUNTNOBLANK(Table[Employee ID])
CoreyP
Solution Sage
Solution Sage

Is each row in the dataset always a value of 1 for FTE?

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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