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

Need to display Row Sub Totals

rrrrrr.png

 

 

 

 

 

 

 

 

 

 

 

 

 

Hi Team

 

ROUND(IF([MAX_DT]<=SELECTEDVALUE(RetailAudit_StockCount[StockCount_CreatedDate]),CALCULATE(SUMX(RetailAudit_StockCount,[Face_On]),
FILTER(RetailAudit_StockCount,[Face_On]>=0))),2)
 
When I use above formulae. I am getting required  column sub totals working fine ... but not display or wrong Row Sub Totals
please Help me
 
Thanks

 

1 ACCEPTED SOLUTION

Hi @Anonymous 

 

Would you mind trying below formula?

Measure = var a = CALCULATE(SUM(RetailAudit_StockCount[Face_On]),FILTER(RetailAudit_StockCount,[Face_On]>=0)&&[MAX_DT]<=SELECTEDVALUE(RetailAudit_StockCount[StockCount_CreatedDate])
Return
Round(a,2)

If still not work, please kindly share your dummy pbix/simple worksheet.

 

Community Support Team _ Dina Ye
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

3 REPLIES 3
v-diye-msft
Community Support
Community Support

Hi @Anonymous 

 

Your capture is not complete for us to generate the determinate result. based on your formula. I'd like to make some change:

column = ROUND(IF([MAX_DT]<=SELECTEDVALUE(RetailAudit_StockCount[StockCount_CreatedDate]),SUMX(FILTER(RetailAudit_StockCount,[Face_On]>=0),[Face_On]),
,2)

If your problem still exists, please share us your dummy pbix or simple data with clear logic.

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Anonymous
Not applicable

Thanks for your Reply

 

we are using live connection if max_ date then display Stock count 

we side create always messare only 

above measure working fine but didt display ROW total i think as per formula using DAX small restriction above please help

ROUND(IF([MAX_DT]<=SELECTEDVALUE(RetailAudit_StockCount[StockCount_CreatedDate]),CALCULATE(SUMX(RetailAudit_StockCount,[Face_On]),
FILTER(RetailAudit_StockCount,[Face_On]>=0))),2)

Hi @Anonymous 

 

Would you mind trying below formula?

Measure = var a = CALCULATE(SUM(RetailAudit_StockCount[Face_On]),FILTER(RetailAudit_StockCount,[Face_On]>=0)&&[MAX_DT]<=SELECTEDVALUE(RetailAudit_StockCount[StockCount_CreatedDate])
Return
Round(a,2)

If still not work, please kindly share your dummy pbix/simple worksheet.

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

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.