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 used this dax for making a chart of active users by month.
the dax workd fine by creating a calnder table and and inserting this dax in this table.
the problem is when I try to slice it on service_discription or segment fields on other tables.
it makes a hole it the chart for months that not appear on the field Effective_date
please see the tables here and the dax.
please your help.
ActiveUser =
var currentdate = MAX('Calendar'[Date])
return
CALCULATE(COUNT('ServicePeriod'[Subscriber]),FILTER(ALL(ServicePeriod),OR('ServicePeriod'[Effective_Date]<=currentdate&&'ServicePeriod'[Expiration_Date]>=currentdate,'ServicePeriod'[Effective_Date]<=currentdate&&ISBLANK('ServicePeriod'[Expiration_Date]))))
"it makes a hole it the chart for months that not appear on the field Effective_date"
This is caused by that you do not have any active users in that month. If you do not want to show the empty month, you can create a calculated column and use it in yout visual axis.
Column = FORMAT('Calendar'[Date],"YYYYMM")
Regards,
Charlie Liao
this what appears when I make a slice on fields from other tabls of segmnt or service_dicription
please help me!
Will be very appriciated.
Best Regards,
Could you please provide us more detail information about your report? Do your use this measure in your visual? Provide us some sample data so that we can make further analysis.
Reards,
Charlie Liao
this is a link for the PBIX file.
https://drive.google.com/open?id=0B5bWrOi7vuVWemlYaWwta0lMMW8
can you open it?
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 |
---|---|
98 | |
96 | |
75 | |
71 | |
64 |
User | Count |
---|---|
140 | |
109 | |
103 | |
82 | |
73 |