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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Assistance

Hi Team,

 

I'm very new to Power BI and I'm creating a report 

 

I've a Text column where Numberic and Non Numberic data is present.

 

Ex: The column value contains:

 

2,3,5,9,13,15,78,89,Completed,255,230,Completed,3,5,18

 

And I've to put this in a chart segregating numeric and non numeric data (counting number of numeric data and non numeric data)

 

The graph should contain:

 

13 - Numeric

2 - Completed

 

 

 

 

 

 

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

hi @Anonymous 

You could create a new calculated column as below:

https://docs.microsoft.com/en-us/dax/value-function-dax

Type = IF(ISERROR(VALUE('Table'[Column1])),'Table'[Column1],"Numeric")

3.JPG

Then drag this new column and basic column into a visual and set Column1 is "Count"

Result:


4.JPG

 

and here is sample pbix file, please try it.

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

hi @Anonymous 

You could create a new calculated column as below:

https://docs.microsoft.com/en-us/dax/value-function-dax

Type = IF(ISERROR(VALUE('Table'[Column1])),'Table'[Column1],"Numeric")

3.JPG

Then drag this new column and basic column into a visual and set Column1 is "Count"

Result:


4.JPG

 

and here is sample pbix file, please try it.

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

@Anonymous ,Can you let us know how data looks in tabular format.Can you share sample data and sample output.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.