Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi all,
I have a table that returns true for each month a client is active or inactive in a given month/period (if a value of true is not returned, then the client has dropped off completely).
Is there a DAX formula where I can sum up the number times a value of true has been returned. E.g. if looking at the first 6 months of 2020, and a client has True appear 6 times, it will show 6 if the year 2020 is filtered
Many thanks
@Anonymous , with the client this will 1 active for 6 months
Rolling 6= if(CALCULATE(sumX(values('Date'[Month year]),if([Active],1,0)),DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-6,MONTH)) =6, 1,0)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
12 | |
9 | |
9 | |
9 |
User | Count |
---|---|
19 | |
14 | |
14 | |
13 | |
12 |