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 am trying to show the number of employees in previous month. I came up with the following formula. I tested each variable separately.
Var lastmonth works and gives me the number of previous month (If I filter for october it shows 9, if I filter for april it shows 3 etc)
Var _activelastmonth gives me the number of employees in current month if I skip the statement "&& 'Fact_Employee overview'[Date]=lastmonth". However when I include the statement, I get blank result. I wonder how I can make these two variables connect.
'Fact_Employee overview'[Date] has a relationship to a date table to column DimDate[Date]
Currently my formula looks like this:
Hi! Unfortunately your message does not appear in english and I am not able to read it.
@key_to ,
Based on your description, your formula doesn't seem to be wrong. I think it may not apply to your specific data. Can you provide your data so that we can better assist you?
Best Regards,
Community Support Team _ xiaosun
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 |
---|---|
109 | |
96 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |