pop&l
2 TopicsSlicer not affecting measure
Hello All, I have a sample data of table below: I want to create two measures:Assessment_1,Assessment_2. Assessment 1 gives the values of assesment column based on selection in slicer1(PI). Assessment 2 gives the values of assesment column based on selection in slicer2(PI). I finlly want a table with LEVEL,NAME,ASSESSMENT1,ASSESMENT2 and Diff(Assessment1-Assessment2). I crate separate measures for each,based on slicer..but the problem is the second measue gets affected by selection of slicer1 value. TABLE1: LEVEL NAME PI ASSESSMENT L1 aa 1 10 L1 bb 2 20 L1 cc 3 50 L2 df 1 12 L2 gg 2 15 L3 hj 1 15 L3 rr 2 12 L3 ty 3 50 My final result should be, for example if slicer 1 PI=2 and Slicer2 PI=3. LEVEL Assesment_Slicer1(PI=2) Assessment_Slicer2(PI=3) L1 20 50 L2 15 null L3 12 50 Any help?Solved1.4KViews0likes2CommentsCalculating Percentage within a Row
Hi all, I am working on a POP&L that displays a dollar value by customer (row) and account number (column) and I want to include a column that calculates percent of net revenue (dollar value/net revenue). The accounts are broken out by category, so a customer's net revenue represents the sum of values in that customer's revenue category. The net revenue measure needs to ignore the column it is in because it should always sum the revenue category, but it should take into account the row it is in (customer) and any explicit filters applied. ALLSELECTED() retains only explicit filters and ALLEXCEPT() retains the row filter, but I am having trouble combining them. I tried using an inner join to combine the commands, but the result usually only applies one of the commands. Net Revenue by Customer = CALCULATE(SUM([Amount]), FILTER(NATURALINNERJOIN(ALLEXCEPT('GL Entries', 'GL Entries'[Customer]), ALLSELECTED('GL Entries'), 'GL Entries'[Account Category] = "Revenue")) I am looking for a formula for Net Revenue by Customer, where [% Net] = DIVIDE([Amount], [Net Revenue by Customer]). One way to know if it is working correctly is if the percent of net revenue in the total of the revenue column is 100%. Any ideas? Thanks GL Entries Category Revenue COGS Total Account 5100 - Sales 5200 - Returns Total 6100 - Purchases 6200 - Expenses Total Customer Amount % Net Amount % Net Amount % Net Amount % Net Amount % Net Amount % Net Amount % Net Cust 1 $2000 103% -$50 -3% $1950 100% -$1000 -51% -$500 -26% -$1500 -77% $450 23% Cust 2 $3000 100% $0 0% $3000 100% -$2000 -67% -$500 -17% -$2500 -83% $500 17% Cust 3 $1000 111% -$100 -11% $900 100% -$400 -44% -$550 -61% -$950 -106% -$50 -6% Cust 4 $5000 125% -$1000 -25% $4000 100% -$1000 -25% -$2750 -69% -$3750 -94% $250 6% Cust 5 $4000 101% -$20 -1% $3980 100% -$1500 -38% -$2000 -50% -$3500 -88% $480 12% Total $15000 108% -$1170 -8% $13830 100% -$5900 -43% -$6300 -46% -$12200 -88% $1630 12%829Views0likes1Comment