percentages
11 TopicsNew Matrix Column for Total Percentages
Hi All, I've been stuck working on creating another column in my matrix chart to capture the total percentages (shown in the red). Does anyone have any suggestions on how to solve for this or where to begin with the DAX formula? Thank you in advance for your help! Status Group 1 Group 2 Total Open/Closed % Closed 75 35 110 73.33 % Open 25 15 40 26.67% Total 100 50 150 100 %576Views0likes1CommentTrying to CREATE percentage as tooltip when I Hover on bar graph
Here is the dataset: Year Type Value 2023 a 20 2023 b 50 2023 c 30 Here is the Visual: I want to see percentage when hover over a category: Here is how to make the visual: Here is the DAX I used to make the code: Measure = var a = sum('Table'[Value]) var b = if(HASONEVALUE('Table'[Type]), max('Table'[Value]) ) return b / a But the result does not show an accurate percentage when hovered: Expected result: 30/100 = 30% and not 100%Solved1.4KViews0likes2CommentsTopN visual filter not showing TopN
I have a list of items (called Inc_CI_Service) and their percent of increase since last month (called _Inc Diff % PMs to SP) in a matrix. This list is filtered to only show items where there were at least 5 items during the previous month. When I try to filter the "Inc_CI_Service" on the top 5 items by "_Inc Diff % PMs to SP", it will only return the 1st item. Why and how to resolve?Solved689Views0likes2CommentsGet the percentage of each category of a column
Hi, I would like to find a way to visualize the percentage of each category from a column called Status, but I would like to use another column called ID as a reference for the total count of them (making sure there is a distinct count in the total of ID values) as the rows contain duplicates. Both columns look like this: Status ID Approved M1 Approved M1 Rejected E2 Initiated F3 Initiated P6 Pending L4 Pending L4 Approved X9 Approved X9 Approved T8 Thanks for your help!Solved1.5KViews0likes2CommentsFor Total - get the average of Percentage instead of Sum
Hi, For Total - get the average of Percentage instead of Sum. By default it is calculating sum - I want to get average in of percentage in total - "38%". Can someone please help me with the dax? Thank you in advanceSolved1.7KViews0likes1CommentCalculating percentages from measure
Hi everyone Here is my table: Number of customer (Active) is a measure: Number of Customers (Active) = CALCULATE ( DISTINCTCOUNT(au_subscriptions[au_subscriptionid]), FILTER(au_MemberStatus,au_MemberStatus[MemberStatus] = "Active"), USERELATIONSHIP( FeeDate[Date] , au_subscriptions[au_activatedon]) I am trying to create a measure to calculate the percentage? thanks Viral700Views0likes3CommentsDax for total percentage of type
Hi everyone My company wants me to create a table that tracks wich percentage of time is spend doing specific tasks as a percentage of all the work done. It has to look something like this: Department Task Task2 Employee 01-2021 02-2021 Accounting Count money Count bills Scrooge McDuck 25% ... Accounting Count money Count change Scrooge McDuck 25% ... Accounting Pull a prank Prank the nephews Scrooge McDuck 25% ... Mischief Pull a prank Prank Uncle Scrooge Huey Duck 100% ... Mischief Pull a prank Prank Uncle Scrooge Dewey Duck 25% ... Mischief Pull a prank Prank Uncle Scrooge Louie Duck 50% ... The data is formatted in the following way: Department Task Task2 Employee Date Hours Accounting Count money Count bills Scrooge McDuck 2021-01-22 3 Accounting Count money Count change Scrooge McDuck 2021-01-22 3 Accounting Go on an adventure Finding treasure Scrooge McDuck 2021-01-23 3 Mischief Pull a prank Prank Uncle Scrooge Huey Duck 2021-01-22 3 Mischief Sleeping Good night sleep Dewey Duck 2021-01-22 9 Mischief Pull a prank Prank Uncle Scrooge Dewey Duck 2021-01-22 3 Mischief Pull a prank Prank Uncle Scrooge Louie Duck 2021-01-22 6 Accounting Pull a prank Prank the nephews Scrooge McDuck 2021-01-22 3 Mischief Play Play with toys Louie Duck 2021-01-21 6 When the matrix is collapsed, the results shoud still add up: Department 01-2021 02-2021 Accounting 75% ... Mischief 44% ... I have the matrix containing Department, Task 1 & 2 and employee in the rows and date in the colums. I just can't seem to get to the right measure. Could you help me out? Thanks everyone!Solved1.1KViews0likes2CommentsPercentage of grand total per month
Hi everybody I need to calculate the percentage of a grand total in a measure. I would use this to compare the quantities of food I want to track against all the food I have in my data (even the ones I am not tracking in this visual) Food Jan 2021 Feb 2021 Pizza 10% 25% Spaghetti 25% 50% The data looks like this: Food Date Quantity Broccoli 2 jan 2021 4 Pizza 3 jan 2021 1 Bread 4 jan 2021 5 Spaghetti 5 jan 2021 2 Carrots 6 jan 2021 4 Spaghetti 7 jan 2021 3 Pizza 8 jan 2021 1 Carrots 8 feb 2021 1 Pizza 15 feb 2021 1 Spaghetti 21 feb 2021 2 ... .... ... I already tried diffrent ways of using the ALL() filter and its many varieties but I'm really not getting anywhere. Really greatfull if someone could help out! Thanks in advance! M1.6KViews0likes3CommentsCompound results up depending on date hierarchy
Hi all, I have a dashboard where the user selects a combination of assets (a list of several hundred options) and the returns over time are shown on a line chart. The user can then drill down across a date hierarchy to see annual, quarterly and monthly returns. The data for the returns calculation is on a monthly basis and the returns are calculated from the underlying data components (ie. numerator and denominator are measures which are calculated depending on the selection and time period) for accuracy rather than a weighted average of the returns. Ideally I want Power BI to calculate the monthly return and then show higher hierarchy levels as a compound of the monthly. The steps would therefore be as follows: User selects which assets they want using a slicer Power BI calculates the monthly returns Power BI then calculates the compounded returns to display at quarterly/annual level. My first thought was to put the calculated monthly returns into a table and then compound and display those results in the chart but I don't think the tables are that clever in Power BI (I could be mistaken). Is there a clever way to do the above in DAX? Dataset is sensitive but I can whip together a really simple example if it helps.Solved3.3KViews0likes10CommentsCan't round off percentages
Hey guys, So in my power bi report, I have a measure which is the difference between two percentage measures. NPS % = Promoter % -Detractor % And I want them to calculate as 0 decimal places. I am able to show individual Promoter % and Detractor % as 74 % and 5 % but the difference is coming out incorrect. I have tried setting 0 in the measure tools for all measures but it's still showing 2 decimal values when i enable it in data label. I tried to set decimal places to 0 from the modelling view also but it still not coming correct Please need help Promoter_% = Var MaxYear=MAX('Fiscal Years'[FY]) Return IF(ISFILTERED('Fiscal Years'[FY]),DIVIDE(CALCULATE(DISTINCTCOUNT('Responses received'[Dummy ID]),'Responses received'[Q1]>=9),[Total_Responses],0), CALCULATE(DIVIDE(CALCULATE(DISTINCTCOUNT('Responses received'[Dummy ID]),'Responses received'[Q1]>=9),[Total_Responses],0),'Fiscal Years'[FY]=MaxYear)) Detractor % = var maxYear=MAX('Fiscal Years'[FY]) Return IF(ISFILTERED('Fiscal Years'[FY]),DIVIDE(CALCULATE(DISTINCTCOUNT('Responses received'[Dummy ID]),'Responses received'[Q1]>=0 && 'Responses received'[Q1]<=6),[Total_Responses],0), CALCULATE(DIVIDE(CALCULATE(DISTINCTCOUNT('Responses received'[Dummy ID]),'Responses received'[Q1]>=0 && 'Responses received'[Q1]<=6),[Total_Responses],0),'Fiscal Years'[FY]=maxYear)) NPS_% = Var maxYear=MAX('Fiscal Years'[FY]) Return IF(ISFILTERED('Fiscal Years'[FY]), IF([Total_Responses]>0,[Promoter_%]-[Detract %]+0, IF(([Promoter_%]-[Detract %])=0,"-",[Promoter_%]-[Detract %] ) ), IF([Total_Responses]>0 && ([Promoter_%]-[Detract %])=0 ,0, CALCULATE(IF( ([Promoter_%]-[Detract %])=0,"-",[Promoter_%]-[Detract %] ),'Fiscal Years'[FY]=maxYear ) ))865Views0likes1Comment