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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
k123
Frequent Visitor

How to get the difference between the values selected by slicer?

Hi all,

 

I am new to Power BI and currently I am working with table visulaizations and slicers. 

My data is as follows

Student table:

 

 

Capture_1.PNG

 

Date table:

 

 

Capture_2.PNG

 

Exam table:

 

Capture_3.PNG

 

 

I want an output like the image shown below,  I would like to create 2 table visuals that can be filtered on Student Name, Classroom and also have slicer on 2 dates. I need to compute minimum score. The user must be able to select 2 dates at a time on the slicer, the first date selected on the slicer should be attached to my 'Min Score at date1' and second date selected on the slicer should be attached to my 'Min Score at date2', and the third column 'Difference in Score' must be able to calculate the difference between the Min Score at date1 and Min Score at date2.  

Similarly I also want to calculate the average minimum score too

Capture_4.PNG

 

 

 

Please let me know how to proceed or what alternative formula or method should I implement to get the desired result.Thanks!

3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi  @k123,

 

Based on your description, I understand that you have two tables.

 

Do you want to use two slicers or others?

 

If it is convenient, could you share your data sample as tables, so that we can help further investigate on it? 

 

Best Regards,

Cherry

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

@v-piga-msft I have updated my question and also provided data samples and the output that I would like to get. Please let me know. Thanks!

Hi @k123,

 

Congratulations! It seems that you have get the solution in this forum.

 

Best Regards,

Cherry

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

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors