Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi ,
good day.
I have built a report which to track how many Outlets are Active or InActive , All are Tracking based on duration of 3 , 6 & 12 Months.
I have created the formula for 3 months , 6 months and 12 months with this Measure :
Apologies upfront since I’m typing this from a tablet (so no PBI Desktop to test measures etc...).
To be able to see either Active Or Inactive outlets, you can create a new table using the “Enter data” (to generate a table) with the values Active and Inactive in two rows of the table. Let’s call this table Activity Status.
make sure the table has no relationships with other tables in your model.
then create a measure which goes along the lines of:
Activity Status = IF(SELECTEDVALUE(Status Activity[column]) = “Active”, [your active measure], [your inactive measure])
Use this measure in you visual (table or whatever), and create a new slicer with the column from Activity Status table.
Proud to be a Super User!
Paul on Linkedin.
Hi @Chanleakna123 ,
The slicer supports calculated column instead of measure, so you might create [Active or In-Active] using column, while you may need to click refresh button once the data changed.
There is another solution to filter Active or Inactive, you can create measure Filter1 like DAX below first of all, then put the Filter1 in the Visual Level Filter of Matrix visual which displays [Customer Name] and other fields, setting Filter1 as "is not blank".
Filter1=IF ([Active or In-Active]="Active", 1, BLANK())
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Would you benefit using a calculated column instead of a measure and using that data field as the slicer?
Actually, after reviewing your question and the design behind the logic, I understand where the complication is. Let me digest this a little more and see if I can come up with a solution.
@JQuon , hi do you have any update in this regards ?
looking forward your response 🙂 .
Thanks with Regards,
Chanleakna Hang
@Chanleakna123 , are you able to share the PBIX file? I think the only way to do this is through calculated columns. It may not be ideal, but you may not to do calculated columns on an aggregate table to achieve your goal.
If possible please share a sample pbix file after removing sensitive information.Thanks.
My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...
Hi,
I would like ot help. Can you take a very simple example and show me your expected result.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 151 | |
| 130 | |
| 109 | |
| 79 | |
| 54 |