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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Get the average percent from 2 different columns

Hello!

 

So I got these columns with this formula that I would like to combine to get the average percent of the stuff thats "Avklarat".

 

2tim = IF('logg'[Time]>1/24/60*120;"Missat";"Avklarat")

 

1tim = IF('Logg'[Time]>1/24/60*60;"Missat";"Avklarat")

 

These columns make these donut charts and I want another donut chart that shows the aveage percent of Avklarat in the picture below:

power bi average percent.png

 

8 REPLIES 8
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

It is very difficult to analyze without looking at the data and just by imagining. See if you can share a PBIX file with dummy data.(using OneDrive for Business)

 

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

Anonymous
Not applicable

Hello

 

I sent you a dummy with a google drive link in PM

 

Hi @Anonymous ,

 

Sorry, I can't get more information from your dummy data.
If 1Tim and 2Tim are in the same table, why their total rows are not equal?

 

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

 

Anonymous
Not applicable

ok.. But can I someshow combine these 2 columns and make each of them still contain their individuell values?

 

Anonymous
Not applicable

I'm sorry but I have no idea how to give you a dummy without sharing sensitive information...

 

amitchandak
Super User
Super User

@Anonymous ,

I think you need sum of Averages

https://community.powerbi.com/t5/Desktop/SUM-of-AVERAGE/td-p/197013

 

Appreciate your Kudos.

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hello!

 

Sorry, but i'm new to this and I dont really get it. I tried this but it wont work:

 

New Table = 
SUMMARIZE (
    'Logg';
    'Logg'[2tim];
    'Logg'[1tim];
    "Average percent"; MAX ( 'Logg'[Average percent] )
)

 

Greg_Deckler
Community Champion
Community Champion

It sounds like you want a multi-column aggregation:

https://community.powerbi.com/t5/Quick-Measures-Gallery/Multi-Column-Aggregations-MC-Aggregations/m-...

 

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors