Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hey guys,
I have two columns
One is the daily amount and the other is the monthly total amount
Example
Daily Amount = 1000
Monthly total amount = 26000
I do a calculation that if the maximum date is less than the 28th day it makes the daily value multiplied by the number of days, but if it is the 28th or 29th or 30th or 31st it returns the value of the Monthly total amount
Example:
February 25 = 1000*25 = 25000
February 28 = 26000
Follow the calculation below
One way would be to add a calculated column that uses your calculation, and then use that column together with the date slicer.
If, however, you need to use a measure then this is a lot more complicated.
So - please clarify what you mean by "dynamically"
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
10 | |
6 |