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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
abc_777
Solution Specialist
Solution Specialist

hi

Hi

 

Hello some one please help me why i am getting this total

is this a measure switching. from Piece to KG 

 

Total Quantity in KG (Measure) =
(SUM('bm_retail_t sale'[SQTY])
        - SUM('bm_retail_t sale'[RQTY])) * SUM('BM Product List'[Weight in (KG)])
 
also tried 
Total Quantity in KG (Measure) =
CALCULATE
(SUMX
    ('bm_retail_t sale', ('bm_retail_t sale'[SQTY]
        -'bm_retail_t sale'[RQTY])) * SUM('BM Product List'[Weight in (KG)])
 

abc_777_0-1669134252147.png

Total Quantity in Piece (Measure)
CALCULATE
(SUMX
    ('bm_retail_t sale', ('bm_retail_t sale'[SQTY]
        -'bm_retail_t sale'[RQTY])))

abc_777_1-1669134374688.png

 

abc_777_2-1669134690805.png

 

please help me out

1 ACCEPTED SOLUTION
abc_777
Solution Specialist
Solution Specialist

here i chare another file. my total is incorrect. and i want generic measure to use as product department, product name product category , customer purchase etc.

 

please help me

View solution in original post

3 REPLIES 3
mangaus1111
Solution Sage
Solution Sage

Hi @abc_777 ,

I don´t know, maybe you can correct the total creating an additive measure like this:

 

SUMX(
    VALUES('Table'[ITEM_NAME]),
    [YourMeasure]
)

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

this is just a simple calculation. I can not type values as item name as i use this measure to other visualisations as well. like product departmenr, or product category or customer product purchased etc.

 

This measure is generic to use piece and KG

 

I attached sample file. please see the sheet name 

 

Piece and KG

 

my total or grand total are not correct. please help me what is the issue

 

 

 

abc_777
Solution Specialist
Solution Specialist

here i chare another file. my total is incorrect. and i want generic measure to use as product department, product name product category , customer purchase etc.

 

please help me

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.