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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Yrstruly2021
Helper V
Helper V

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 V
Helper V

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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

Top Solution Authors