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
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
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.