questions
5 TopicsTop 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.Solved657Views0likes1CommentDAX expressions returning different results (CALCULATE vs CALCULATETABLE)
Hello, I encountered confusing results when creating measures using DAX calculations. It appears I’m getting different outputs when using CALCULATE vs CALCULATETABLE in certain circumstances. I’m not getting the expected output when using CALCULATE. I’m adding filter context on both measures and the filter context is the same. Details below. Measures used: SAO Opportunities = CALCULATETABLE( ROW ("SAO Opportunities", COUNTROWS(Opportunity) ), KEEPFILTERS ( TREATAS ( {"true"}, 'Opportunity'[SAO] )), USERELATIONSHIP ( 'Date'[Date], Opportunity[SAO Date]) ) SAO Opportunities (Calculate function) = CALCULATE ( COUNTROWS ( Opportunity ), FILTER ( Opportunity, Opportunity[SAO] = "true" ), USERELATIONSHIP ( 'Date'[Date], Opportunity[SAO Date] ) ) Output: For further context, there is an inactive relationship set up for the Date table with the Opportunity SAO Date field. There is a column in the Opportunity table called SAO and it’s a text field. When I filter the data in the Data View section to meet the above criteria, here is the output (matches output from CALCULATETABLE): Is anyone able to provide insight into the discrepancy? Thanks!Solved1.5KViews0likes2CommentsCreating a column based on the conditions of another (Figure this out you're a legend)
Hi All, Here is the 2 tables I am working with... Sales Table Owner (Spec) Owner( Housebuilder) Owner(Commercial) Owner(NAM) Region Est Revenue Est. Spec Value Gary Garyson Admin £100,000 £245,000 Sam Samson Admin £174,000 £290,000 Sam Samson Richard Richardson Scotland £155,000 £212,000 James Jameson Sam Samson Richard Richardson ROI £109,000 £288,000 John Johnson Richard Richardson Admin £112,000 £245,000 Now here is my other table... Owner & Region Owner Region Gary Garyson Midlands James Jameson ROI John Johnson NI Sam Samson Scotland My problem is that some of my sales records in my sales table have the value "Admin" assigned to them in the Region column. I would like a solution on how would I go about assigning the correct Est. Revenue to the correct region? My catch is that I would like the Est. Revenue assigned to the owners region in this order... Owner (Housebuilder) if this is empty then then Owner (Commercial) and if this is empty then finally Owner (NAM). Also this is only a small example of my Sales table and this all assumes that Owner(Spec) has been left blank. Most rows do infact have the Owner(Spec) column with a value in it. I want this solution to work in a way where even if there is Owner(Spec) values in the column aslong as Admin is the region completely disregard this column. Maybe I need a new region column created to show the correct region in the order of assgment I would like? Any help would be greatly appreciated! 🙂Solved617Views0likes2CommentsSetting Conditional Images in paginated reports
I am trying to set conditional images on a report based off a parameter selected in my report? So in essence a parameter determines which image is selected to appear in the report with each parameter switching images? I've found the tooltip and use this image, and thats where I think it'll happen? How do I have a parameter show up on my report with it just saying the text of the parameter selected?467Views0likes0Comments