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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Back to Basics - Calendar table with fact table and measures to sum values

I am still getting my head wrapped around measures, but if I undersnad correctly, if you have a calendar table linked to a fact table (Contains a date, and a number), you can create a table visual with at the calendar table date and the number column from the fact table (Say Lbs produced), then selections made in the date slicer (again, pointed to the Calendar table), the table visual will show the matching data.

 

Also, you can make a measure that will sum the value of the number column based on the displayed rows in the table visual.

 

I have succeeded in the first, the second, a meaure:

M_LbsProdcuedPerMonth = sum(vwFactProdShipComparison[producedLbs])
 
Seems to show the Lbs produced for the day in the month instead of the sum of lbs for the selected records:
beenherebefore_0-1719262541876.png

 

I am after a measure that will show the sum at the bottom: 7048129.44

I know it's something dumb. Please enlighten me.

 

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

I made simple samples and you can check the results below. You can try to put your measure into a card visual or you can use the following expression:

vtianyichmsft_0-1719281515153.png

Measure 2 = SUMX(ALLSELECTED('Table'),[Value])

 

An attachment for your reference. Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

I made simple samples and you can check the results below. You can try to put your measure into a card visual or you can use the following expression:

vtianyichmsft_0-1719281515153.png

Measure 2 = SUMX(ALLSELECTED('Table'),[Value])

 

An attachment for your reference. Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

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

Anonymous
Not applicable

Sweet!

Thank you very Much!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.