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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
rajasekar_o
Helper V
Helper V

FIXED SALES AMOUNT

hi team,
how to calculate fixed sales amount for finished goods  ,i have sale table and item group table 
IF am apply any filter the fixed sales amount no need chnage 

rajasekar_o_0-1702635518542.png

rajasekar_o_2-1702636166614.png

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @rajasekar_o ,

Based on your description, I understand that you want the value of total to remain unchanged when the slicer is finished goods.

You can follow these steps to solve your problem:

1.Create a measure

vyifanwmsft_0-1702864922107.png

Measure =
CALCULATE (
    SUM ( 'sale table'[sales amount] ),
    FILTER (
        ALL ( 'sale table' ),
        'sale table'[group] = SELECTEDVALUE ( 'sale table'[group] )
    )
)

Output:

vyifanwmsft_1-1702864970285.png

 

vyifanwmsft_2-1702864970286.png

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Yifan Wang

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

1 REPLY 1
Anonymous
Not applicable

Hi @rajasekar_o ,

Based on your description, I understand that you want the value of total to remain unchanged when the slicer is finished goods.

You can follow these steps to solve your problem:

1.Create a measure

vyifanwmsft_0-1702864922107.png

Measure =
CALCULATE (
    SUM ( 'sale table'[sales amount] ),
    FILTER (
        ALL ( 'sale table' ),
        'sale table'[group] = SELECTEDVALUE ( 'sale table'[group] )
    )
)

Output:

vyifanwmsft_1-1702864970285.png

 

vyifanwmsft_2-1702864970286.png

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Yifan Wang

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

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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