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
Daniel1993
Frequent Visitor

Make a measure don't summarize

Hi, hope one of you can help me!

 

I want to make a measure that shows the progression in %. 

For example:

 

Progress visited places (this is a Excel-list with all visited places in each row, summarized to a tabel).

Formula: CALCULATE(COUNT('Data'[Names))

 

Abigail16
Bernard17
Chris9
Dot45
Eve21
Finn12
Gerard11

 

Goals (this is a fixed tabel):

Abigail50
Bernard60
Chris60
Dot60
Eve40
Finn20
Gerard30
Total320

 

When I want to divide the progress with the goals, PowerBI will divide the progress with all the goals (320).

But this is not what I want. For example, I want to see this: Abigail --> 16 divide to 50 = 32% instead of 16 divide to 320.

 

Abigail1632%
Bernard1728,3%
Chris915%
Dot4575%
Eve2152,5%
Finn1260%
Gerard1136,6%

 

Is there an easy way to do this?

If you need more information, let me know!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I

 

Try this

JamesFr06_0-1657142949870.png

Calcul_goal = divide(selectedvalue(Visits[Visits]),calculate(max('Goal'[Goals]),allexcept(Visits,Visits[Name])))
 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

I

 

Try this

JamesFr06_0-1657142949870.png

Calcul_goal = divide(selectedvalue(Visits[Visits]),calculate(max('Goal'[Goals]),allexcept(Visits,Visits[Name])))
 

Thanks, it works for me! 🙂

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.