general
10 TopicsChart showing incorrect month
hi guys , I have a data like below Project Proj Code Creation Date Won Date Lost Date Creation FY Creation FY Month No. Creation Month Won Fy Won Month Won FY Month No. Status Proj1 0001 26 March 2019 18 April 2019 2018-2019 12 March 2019-2020 April 1 Won Proj2 0002 24 September 2019 1 october 2019 2019-2020 6 September 2019-2020 October 7 Won Now to i have to show total projects in different statuses over current fiscal year's months.So below are the measures i have used This year won projects= Var MaxFYYear=MAX('Pipeline Master'[Won FY]) //To give me current fiscal year. Return CALCULATE(DISTINCTCOUNT('Pipeline Master'[Pipeline Code]),FILTER('Pipeline Master','Pipeline Master'[Won FY]=MaxFYYear),'Pipeline Master'[Status (groups)]="Won") Now when i am combining the above measure with "Won Month" column in a chart it shows "March" month too which is not even present in the data.Can you guys please help me why is it happening to me ?Solved1.2KViews0likes1CommentTop N by each category
Hello Guys, i need a top n analysis with the folllowing data i have Project Name Status Fiscal Year Job Fee Expected Fee BU Reason Lead Generator Proj1 Won 2019-2020 1000 2000 Audit New Pipeline ABC Proj2 Lost 2018-2019 3000 Tax The bid was L1 efg Proj3 Live 2017-2018 5000 Growth ABC Each row represents a new pipleine.So we want to find top 10 projects/pipelines in each BU. The ranking should be based on Job fee in case where the status is "Won" and in case of status "Live & "Lost" the ranking shoulld be on the basis of expected fee.Also the ranking should be for the currrent fiscal year which is "2019-2020". The requirement is also that we should see the details such as Reason and LG for each pipeline.Solved654Views0likes1CommentHandling very small numbers
Hi everyone! I'm having a problem with the very small numbers in my data; and the measures I created with them look like this; I'm trying to get rid of this scientific notation, and I tried some suggestions I've found here in Community, but they didn't solve my problem. The first suggestion was converting the measure to Currency format, but in that case, there are still a lot of zeros, is there any way that you can share with me to decrease the number of zeros? And I don't understand why it's between parenthesis? Couldn't remove them either. And on the other hand, there shouldn't be a dollar sign here or any sign actually I just need to see the value only, but if it's not possible to use it without the currency sign, it should be € and when I change it, it returns only 0. So I really don't know what to do with these tiny values, if you can help me with any solution, Dax formula, or any way to round it for example, I really really appreciate it. Thank you very much in advance!Solved2.7KViews0likes4CommentsGetting the sum of a column when the value is the same as previous row
Hi guys, Below you see 3 tables. In the first table there 3 columns from 3 different tables. isin column from table dim instrument, hedge from dim trade and PV_hedge is a measure from Fact trade. The total value of PV_hedge is correct namelijk 100 mil. What I want to achieve is the last table I want to see one row ISIN and the total of PV_hedge. In this case ISIN 2485 and PV_hedge 100 mil. This is the measure that I am using. I tried to use earlier but it doens not allowd. PV_Hedge = CALCULATE(SUM('Fact Trade'[amt_present_value]), 'Dim Trade_oud'[hedge_ref_trade_number] = 'Dim Trade_oud'[hedge_ref_trade_number]) Thank for your help!1.1KViews0likes5CommentsGet the distinct values from few columns based on the ID
Hi, Could someone help me on getting the dax formula Here is my table data id name startdate enddate no of days stages 200 abc 3/13/2020 3/13/2020 0 stg1 200 abc 3/13/2020 3/13/2020 0 stg2 202 xyz 3/18/2020 3/19/2020 15 stg2 202 xyz 3/13/2020 3/19/2020 15 stg1 202 xyz 3/12/2020 3/27/2020 15 stg3 207 123 4/30/2020 5/1/2020 6 stg1 207 123 4/30/2020 5/6/2020 6 stg2 the no of days is calculated by the difference between the startdate for the ID and the end date for the same id eg: for 202, the startdate is 3/12/2020 and enddate is 3/27/2020 .So the difference is 15 days. and i need the result like below based on id 200 abc 3/13/2020 3/13/2020 0 stg2 202 xyz 3/12/2020 3/27/2020 15 stg3 207 123 4/30/2020 5/6/2020 6 stg2 once i get the above table, i need to merge this result with the datetable provided by the powerbi , can someone please provide suggestions, how can we do to get the monthly report based on calender days from the datetable not based on the dates available in the existing table.Solved1.9KViews0likes3CommentsCan'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 ) ))859Views0likes1CommentShowing Different Categories in a column chart
Hello guys, I have the data file as below : CSP CSL Co-CSL Q1 Q2 Q3 ABC CDA DAB 8 7 5 HJK LKJ GHJ 7 9 3 ASD DSA CDA 8 9 9 So i have Scores for different questions in the data and the Scores basically are calculated as average. But the challenge is that client has asked for slicers of CSP,Co-CSL and CSL where are names.So for instance if i select "CDA" in CSL it should show the score of "CDA" where he or she is mapped as CSL. And they want to compare it with his or her BU too just like in the pic below Please help me acheive this guys715Views0likes1Comment