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
Yrstruly2021
Helper IV
Helper IV

Can only create one measure

Please advise, i can only create one measure (avg transaction) with this workbook. When I tried to create more measures it only gives me the measure I already created as an option. Are my data type the issue?

 

https://drive.google.com/file/d/1TBRgP2tHPRQBcDUMqV0rWeIzV3lH0ebj/view?usp=share_link 

1 ACCEPTED SOLUTION

Hi  @Yrstruly2021 , 

 

It seems that you already have a MEASURE [AVG]:

vjianbolimsft_0-1675935538456.png

If you want to calculate average, please try to use AVERAGE() like this:

 

Measure = CALCULATE(AVERAGE(content_type[cost]))

 

Output:
vjianbolimsft_2-1675935782156.png

AVERAGE function (DAX) - DAX | Microsoft Learn

 

Best Regards,

Jianbo Li

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

5 REPLIES 5
v-jianboli-msft
Community Support
Community Support

Hi @Yrstruly2021 ,

 

It works fine.

vjianbolimsft_0-1675921129340.png

 

Best Regards,

Jianbo Li

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

Yrstruly2021
Helper IV
Helper IV

See if you can create more other measures?

v-jianboli-msft
Community Support
Community Support

Hi @Yrstruly2021 ,

 

It works fine in my side. Sorry I can't reproduce the error you describe, did I misunderstand?

What kind of MEASURE are you trying to create?

Can you provide a detailed screenshot of the error message?

vjianbolimsft_0-1675907714472.png

 

Best Regards,

Jianbo Li

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

Hi  @Yrstruly2021 , 

 

It seems that you already have a MEASURE [AVG]:

vjianbolimsft_0-1675935538456.png

If you want to calculate average, please try to use AVERAGE() like this:

 

Measure = CALCULATE(AVERAGE(content_type[cost]))

 

Output:
vjianbolimsft_2-1675935782156.png

AVERAGE function (DAX) - DAX | Microsoft Learn

 

Best Regards,

Jianbo Li

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

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.

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