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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MHTANK
Helper III
Helper III

Future Discount

If I have some data of products selling with discounts. I want to know future category wise discount for sale. It gives me automatically answers "how many discount I give". Is it possible through power bi?

6 REPLIES 6
v-yanjiang-msft
Community Support
Community Support

Hi @MHTANK ,

If you want to do a prediction of the discount in the future, we can certainly do it. The calculation also needs a logic.

For example this sample.

vkalyjmsft_0-1664262844709.png

Suppose future discount is the average value of Discount in the last three month, create a calculated column like this:

Future Discount =
IF (
    ISBLANK ( 'Table'[Discount] ),
    AVERAGEX (
        FILTER (
            'Table',
            'Table'[Month]
                >= EARLIER ( 'Table'[Month] ) - 3
                && 'Table'[Discount] <> BLANK ()
        ),
        'Table'[Discount]
    )
)

Get the result.

vkalyjmsft_1-1664263050709.png

I attach my sample below for your reference.

 

Best Regards,
Community Support Team _ kalyj

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

 

Yah, it can be right for this type of data , but if I have so many categories Like Name, Age, Education , Income, members etc. Then it is possible in this or ML and AI is solution?

Hi @MHTANK ,

Could you please show me how you sample look like? 

Best Regards,

Community Support Team _ kalyj

I have a diamonds selling and manufacturing data. In this data diamond's sale is depend on it's COLOUR,  CLARITY, CUT, FLUORESCENCE, and market trends. I am giving discounts for selling based on its categories. 

nvprasad
Solution Sage
Solution Sage

Hi,

Yes, Technically it is possible. infact we have implimented market basket analysis also in PowerBI. 

 

Appreciate a Kudos! ‌‌
If this helps and resolves the issue, please mark it as a Solution! ‌‌

Regards,
N V Durga Prasad

Did I answer your question? Mark my post as a solution! Appreciate your Kudos.
Follow me on LinkedIn.

How is it possible? Can you guide me please. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.