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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
dstout
New Member

Rounddown

I have set up a table in PBI.  I need to add a column (right click New column) with the following excel command =Rounddown((B2*1.15),0)  I have replaced the B2 with the column name being Wkstn (should be count of wkstn but that didn't come up as an option)  so on the line I now have:

1 Capacity at 1:15 flex rate = ROUNDDOWN(([Wkstn]*1.15),0)

I come up with the error Cannot convert '1-S-58' of tpe Text to type Number.

I have no idea what this means or where I have gone wrong, would someone please advise?  I am very new to PBI.

 

Thank you so much!!

 

1 ACCEPTED SOLUTION

@dstout Would have to see some sample data. Do you mean like:

ROUNDDOWN((COUNT([Wkstn])*1.15),0)


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
Greg_Deckler
Super User
Super User

@dstout It means your [Wkstn] column is text and not numeric.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Thank you Greg.  Okay so the wkstn heading is in text but the details are the count of the wkstn's so they are numerical.  Do you know how I may be overcome this?


Thank you again

@dstout Would have to see some sample data. Do you mean like:

ROUNDDOWN((COUNT([Wkstn])*1.15),0)


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Fixed, thank you!!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.