cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

Doing calculation for the Value of a chart

I am trying to show the percentage and number of approved and rejected requests. However, each request I have consists of 4 records, so when I see the numbe of requests approved vs rejected in my chart I see: 16 approved vs 12 rejected, when in fact they're 4 approved and 3 rejected. I was looking at "New quick measure" to try and change the value to be current count / 4, but it's not letting me divide by a number. 

 

How can I do that so the chart accepts the value of a column / 4? 

 

2 REPLIES 2
Community Support
Community Support

Hi @DevM01,

Please share some dummy data with raw table structure to help us clarify your data structure and do testing coding formula on it.

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Super User II
Super User II

@DevM01 

1.PNG

you can create two measures

count of apporve = CALCULATE(COUNTROWS('Table'),FILTER('Table','Table'[record]="approved"))/4
count of reject = CALCULATE(COUNTROWS('Table'),FILTER('Table','Table'[record]="rejected"))/4

2.PNG

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Microsoft Ignite

Microsoft Ignite with Arun Ulag

Featured Session Drive Data Culture with Power BI: Vision, Strategy & Roadmap. Register here https://myignite.microsoft.com #MSIgnite #PowerPlatform #Power BI ​

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors