cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Muhammed
Frequent Visitor

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 @Muhammed 

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 @Muhammed 

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

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

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors