Hi,
Cross posted Excel Forum ;
https://www.excelforum.com/office-365/1399068-dax-filtering-between-dates-with-keepfilter.html#post5787380https://www.excelforum.com/office-365/1399068-dax-filtering-between-dates-with-keepfilter.html#post5787380
Can someone help with this I have...
Good day,
I have the following table and I need to reallocate the amounts for Site 1 to all the other Sites, based on the percentage of total amount that each of the other sites have against the total revenue excluding Site 1.
To illustrate, the data, which comes from a pivottable:
Sum of...
Hi,
I'd like to write a measure to calculate the sum of the current and previous month totals, so
Sum dec ; january, Sum January Febuary, Feb : March,
in a nonth month ( Date) scenario I've used the the following;
SPC:=
VAR oneV = IF(HASONEVALUE(Table1[Date]),VALUES(Table1[Date]))
VAR...
Hi,
I have many tables and I would like to find out the best way to count the number of units sold that meet a criteria.
In tblInvMaster I have a fields called PROMO CODE. I want to sum up the number of units from tblSALE that have a PROMO CODE.
So I can use the related function in DAX...
I'm working with some data Where I have a branch, clients in a branch and products with that client. I've managed to get the values in a pivot from measures at product level provided I filter on a client. A soon as clear the client filter all the values become incorrect. Ideally I want to...
Hi
When trying to find the maximum value with a filter condition is there any difference between these two methods and
which if either is regarded as better;
; MAX( Table1[Units] )
Then, CALCULATE([MaxU],(FILTER(ALL(Table1[Item]) ,Table1[Item]= "A") )
or...
Hi,
Does anyone know how to do a cumulative total for a column not measure and not using "EARLIER', so
the same result as
CALCULATE([Tunits], FILTER(ALL(Table13),Table13[Date] <=EARLIER(Table13[Date])))
I've tried using
CALCULATE( MAX( Table[Date] ))
...
Hey guys!
I use this VBA since 2018, but now I want to use it in Power BI. Can someone please help me converting this from VBA to DAX, so I can use it?
The VBA calculate the period between the two dates, only considering working hours (8h30-18h30), working days, discarding weekends and holidays...
Hi,
I've managed to make a dynamic ranking with a custom TopN filter, output is a table with brands ranked by TopN filter and the rest is always summed up by a total under "Others". This is because there are several subcategories. So within a subcategory the dynamic filter is working on...
Hi I am building a dashboard for survey data and for reasons I am not quite sure I am running into a couple of problems.
I have five questions that I want to focus on. My dashboard looks like so:
1) I wrapped the text box at the top with a blank box that i removed the borders. When I...
Hi All,
I am trying to do the following, please let me know if this is possible:
I have a "Value Field" called Count of Value_Proficiency which simply counts the occurrence of each Row Label
I would like to create a new "Measure" having Max of Count of Value_Proficiency repeated for all Row...
I am struggling with DAX Measure to Countif on Measure Result in condition.
Count of Items whose result of Measure4 = 0 for the selected Sales Centre and Month (YearMonthNumber).
I am trying with this measure
=CALCULATE (COUNTA (Data [Item Name]), FILTER(ALL('Data'), [QualificationUpto20] = 0))...
This is cross posted with Excel Forum; DAX Using a Measure in formula produces a blank and can't see why
My question relates to the following formula to get the previous value from non consec dates; first I have a filtered down table.
Filtered Dates :=
MAXX (
FILTER (
ALL (...
Hello Everyone,
I have this dataset (click here) of items with time stamped stages. Some stages mean the item is occupying space in the storage. The other stages mean it's not. I need to use Power Pivot 2016 (not Power BI) to produce the chart below for avg. storage occupancy over time for the...
I'm trying to create a measure which will incrementally subtract demand from supply based on rank. The ranks are already assigned and exist in the data (e.g., 0-100). Is there a way to do that in Power BI?
My target end state is a matrix visual that shows each product and it's rank on the...
Hi,
I'm trying to create a Excel DAX calculated column for the dates next week only.
This works for THIS week only.
=if( year(dCalendar[wtd])=year(today())&&weeknum(dCalendar[wtd])=WEEKNUM(today()-1)&& (dCalendar[wtd])<=TODAY()-1 ,"CURRENT WEEK","OTHER")
But this doesn't for next week.
=if(...
My organization has a report of the cumulative net income for each quarter for each year. I need produce a report in Power BI that pulls the quarterly net income rather than the cumulative net income. I currently have three DAX measures, one that pulls the current cumulative net income, a...
Hi,
Can someone tell me if Powe pivot and Power Bi work differently in relation to date / Calendar Tables,
So if I have a meaure ;
SUM(TslaesTable[Sales} )
and I use this in a pivot table which is just has Dates in the Rows, if i use the dates from the sales table I get what I would...
Hi
I've created a running total column by date and criteria, first I used ALLEXCEPT , but then ALL and VALUES
so;
RTColumn :=
CALCULATE (
SUM ( Table1[Sales] ),
FILTER ( ALL ( Table1 ), Table1[Date] <= EARLIER ( Table1[Date] ) ),
CALCULATETABLE ( VALUES ( Table1[Agency] ) )
)...
Hello,
I was looking at different ways of dealing with a running total and I wondered if anyone had any advice on benefits of problems with different methods with regards to efficiency on large data sets which I don't deal with but it would be good to know.
RTM :=
VAR mdate =
MAX (...
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.