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
Ahead4097
Helper I
Helper I

Decimals in Measure

I'm using a table called "IV Data". I have a column named "CallfilevisitID" and one that is a key column that combines "Username" and "InterventionDate". 

I've created a measure to distinct count my CallfilevisitID column, and one to distinct count my key column. They are called "Distinct Count CallfilevisitID" and "Distinct Count Days by User". 

I then created a measure to Divide Distinct Count CallfilevisitID by Distinct Count Days by User to give me an average of the number of calls per day by user. 

The average measure is returning a rounded version of the average, and I need it to return the actual average down to 2 decimal places. 

Both The CallfilevisitID column and the Key column are text. 

 

Is it possible to have the average return as a non-rounding decimal number?


Thanks!

1 ACCEPTED SOLUTION
Cmcmahan
Resident Rockstar
Resident Rockstar

Very possible.  In the Fields pane to the right, select the measure in question.

 

In the Modeling ribbon at the top, there are options for formatting the field.  Make sure the data type is a decimal number, and then you can select a number of decimal places to show. Change it from Auto to 2.

Formatting.png

View solution in original post

2 REPLIES 2
Cmcmahan
Resident Rockstar
Resident Rockstar

Very possible.  In the Fields pane to the right, select the measure in question.

 

In the Modeling ribbon at the top, there are options for formatting the field.  Make sure the data type is a decimal number, and then you can select a number of decimal places to show. Change it from Auto to 2.

Formatting.png

I figured out what I was doing wrong.....

I tried to change the number format, but it never gave me the option to change it. 

Figured out that I had the card selected, and not actually the measure under fields. 

 

Thanks for your help!

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