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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Visualization table average

Hi,

 

I have three columns like this:

pic1.PNG

 

 

 

 

 

 

 

 

 

 

In the first column is planned target time, in the second one real (aggregated from one to few rows), in the third percent of plan realization. When I choose "Average" for this column it calculates average value for each row, what I want is to preserve summarising in each row but show average of that in the table bottom. Is it possible?

1 ACCEPTED SOLUTION

Hi @Anonymous ,

Try the formulas below.

 

Measure = DIVIDE(SUM(WorkDonePerEmployeePerIssue[HoursWorked]),SUM(EstimatedDuration[Duration]))*100
Measure 2 = AVERAGEX(VALUES(WorkDonePerEmployeePerIssue[IssueId]),[Measure])

 

3.PNG 

More details, please see the pbix file.

 

Best Regards,

Xue Ding

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

Best Regards,
Xue Ding
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

6 REPLIES 6
amitchandak
Super User
Super User

Information seems incomplete.

Anonymous
Not applicable

Hmm, it got truncated from the picture below. Maybe there was some kind of upload issue. I'll edit the post then, thank you for your message!

Hi @Anonymous ,

Did you calculate average out? If you still need help, please share the completed sample data and your expected results. Then we will understand your requirement clearly.

 

Best Regards,

Xue Ding

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

 

 

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi, thank you for your response. I hope this little model can help understand my problem.

pic2.PNG

 

Two tables at the top are my model. They contain raw data. Then we have three situations, the first one is what I want to achieve and both next are what I get when try to sum or average the data. The second situation, "What I got when summing" is almost good. Data in each row is perfect, however in the summarizing row I want to have average of all percents in column, not sum of them.

Hi @Anonymous ,

Try the formulas below.

 

Measure = DIVIDE(SUM(WorkDonePerEmployeePerIssue[HoursWorked]),SUM(EstimatedDuration[Duration]))*100
Measure 2 = AVERAGEX(VALUES(WorkDonePerEmployeePerIssue[IssueId]),[Measure])

 

3.PNG 

More details, please see the pbix file.

 

Best Regards,

Xue Ding

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

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Briliant, did the job! Thank you for your reponse. I'm new to Power BI and always try to make one measure per issue. I didn't even think that writing more than that could actualy make things easier. 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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