Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
ILAN102010SH
Frequent Visitor

slice from other tables - CUMULATIVE active users

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.

 

tables.PNG

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]))))

 

6 REPLIES 6
v-caliao-msft
Employee
Employee

@ILAN102010SH,

 

"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")
Capture.PNGCapture1.PNG

 

Regards,

Charlie Liao

Hello Charlie,
Thank you for your reply.
There are active users in that month.
Active user= has no end date for this months.
The problem that nobody joined this months.
The graph need to show the current of users by this months.
Is there any solution to that?
ILAN102010SH
Frequent Visitor

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,

holes.PNG

@v-caliao-msft in advance to your wonderful solution to my problem earlier, I have another question, please look up, please your kind help. Kind Regards. Ilan-S

@ILAN102010SH,

 

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

@v-caliao-msft

this is a link for the PBIX file.

 

https://drive.google.com/open?id=0B5bWrOi7vuVWemlYaWwta0lMMW8

 

can you open it?

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.