Is it possible to have a clock that counts up in days? - python-3.1

Recently I've been working on a file for python-3.1 and I was wondering if there is a way to have a clock that counts up in days, for example, if the set day was the 10th of July 2016 the screen would display the number 12 if the file was opened on the 22nd of July 2016

Related

I need to CALCULATE() the total number of hours throughout the years, but what I what I get is a ridiculous number

I need to calculate the total of hours from the table 'Time Report[HH'] reardless of the date. The problem is that the result is much higher that what it actually is (4774 vs 68K (named REALESV2)).
Also, you can see how the curve drops after december :(
picture showing just 2022
picture showing 2022 and 2023
Thank you for your help!

Power BI - Extrapolate average monthly expenses to remaining months of the year

I am trying to find a solution for the following problem and I do not have that much experience yet with Power BI. Therefore the help of this community would be much appreciated!
I want to use the monthly average of expenses for current year and extrapolate that value for the remaining months of the year.
On top of that I would like to have the possibility to multiply the extrapolated value for the months of may and nov with a value such as 1.1.
So if available expenses are available up to February, the extrapolated outcome should look like this:
Month Expense amount Multiply value
jan 10
feb 6
mrt 8
apr 8
may 8.8 1.1
jun 8
jul 8
sep 8
oct 8
nov 8.4 1.05
dec 8
Thanks in advance for thinking along with me!
Best,
Yoran

how to subtract months giving a specific criteria

hi I have a rolling last 12 months in excel but I would like to exclude specific months so that way it will skip does months on the report. but the formula that I have wont work for every month. the months that I would like to skip is march 2020, april 2020, may 2020, june 2020. I have a drop list I which it will subtract the last 12 months.
enter image description here

Push Dataset in powerBI

I have a requirement where data from Event Hub is continuously coming to Stream Analytics and I am pushing it to POWERBI with a tumbling window of 15 mins.The Push data set will have data for a week.
The data is Transaction data where I have Amount and Transaction Date
For my requirement i need 3 charts
total Amount for today till current time ..SO suppose 04th Nov (6:41 pm) it is $100
change in Amount (Total Amount last week same day till same time- total Amount for today till current time) --Suppose last week it is 28 Oct till 6:41 pm it was #$80 so it should show #$20
KPI where it find percentage difference between first two. 20*100/100=20%
as I am using the tumbling window of 15 mins so i wont have transaction exactly till 6:41 but at least Amount where Max(Transaction Date)<= CurrentTime (6:41) for that day .
I am not sure how can I achieve 2nd and 3rd?
today = CALCULATE(SUM('Table'[amount]),FILTER(ALL('Table'),'Table'[date]=TODAY()&&'Table'[datetime]<=NOW()))
total_last week = var lastweek=TODAY()-7 return CALCULATE(SUM('Table'[amount]),FILTER(ALL('Table'),'Table'[date]=lastweek&&'Table'[datetime]<=NOW()-7))

Microsoft Power BI: Line chart last 13 weeks data for 3 years

I need to show line chart visual for last 13 years data for 2017,2018 and 2018. Can anyone tell me how I can achieve this?
I have a table called Profit
columns : Profit, WeekEndingDate, Year
I tried to create last 13 weeks measure but only showed 7 weeks as we are only 7 weeks in 2019 and also only showed data for 2018 and 2019.
I need to display each year individually with 13 weeks data.
Assuming these are linked to dates.
You can use the visual filters to show a date range from today and step back 3 months
Edit:
could you post the measure you created to get the last 13 weeks, it needs to be edited to ignore year. that should do the trick