Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
hello i have data request in which i want to show target achieved till 22nd of each month ? in tabular version ,please help thank you in advance
Solved! Go to Solution.
Hi , @Prajakta11
According to your description, you want to "show target achieved till 22nd of each month".
In my understand , you need to get the data from 1st of this month to the 22nd of this month.
Here are the steps you can refer to :
(1)This is my test data:
(2)We can create a measure like this:
Measure = var _cur_date = MIN('Table'[Date])
var _min_date = EOMONTH(_cur_date,-1)+1
var _cur_month_22 = DATE(YEAR(_cur_date) ,MONTH(_cur_date),22)
var _t = FILTER(ALLSELECTED('Table') ,'Table'[Date]>=_min_date && 'Table'[Date]<= _cur_month_22)
return
COUNTROWS(_t)
(3)The result is as follows:
If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi , @Prajakta11
According to your description, you want to "show target achieved till 22nd of each month".
In my understand , you need to get the data from 1st of this month to the 22nd of this month.
Here are the steps you can refer to :
(1)This is my test data:
(2)We can create a measure like this:
Measure = var _cur_date = MIN('Table'[Date])
var _min_date = EOMONTH(_cur_date,-1)+1
var _cur_month_22 = DATE(YEAR(_cur_date) ,MONTH(_cur_date),22)
var _t = FILTER(ALLSELECTED('Table') ,'Table'[Date]>=_min_date && 'Table'[Date]<= _cur_month_22)
return
COUNTROWS(_t)
(3)The result is as follows:
If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |