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
Anonymous
Not applicable

I Have area chart having data day wise enrollment

I Have a area chart showing the data in the visual for everyday enrollment. The end user requirement show day to day enrollment and total enrollment.

In below image i am showing enrollment for day to day count but not showing total count. How to show total count 

rajesh4244_0-1623746372628.png

 

Thanks,

Raj

 

5 REPLIES 5
v-kkf-msft
Community Support
Community Support

Hi @Anonymous ,

 

Try the following formula:

 

1_Legend = CALCULATE( SUM('Table'[Value]), 'Table'[type] = 1 )
2_Legend = CALCULATE( SUM('Table'[Value]), 'Table'[type] = 2 )
Total = SUM('Table'[Value])

image.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Both line charts from separate table. how to total separately.

Hi @Anonymous ,

 

Does your problem have been solved? If it is solved, please mark a reply which is helpful to you.

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

 

Best Regards,
Winniz

Hi @Anonymous ,

 

Does your model look like the following?

 

image.png

 

Try the following measure:

 

_TOTAL = SUM(Sample1[Value]) + SUM(Sample2[Value])

 image.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

HashamNiaz
Solution Sage
Solution Sage

Hi @Anonymous !

 

You can use Runing Total Quick measure to genetare the DAX and use that measure; 

 

Running Total 

 

Regards,

Hasham

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.