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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
mohsin-raza
Helper III
Helper III

Display distance differnce in Rapport

Hello:

 

Here is an example dataset with two column. Distance column shows difference of distance from place "Sul" to "Dom" =4,47 and same from place "Dom" to "id" =19,29.

I like to show the same result in my report.

 

User can chose from  Drop down " sul"  to "Dom" and find distance "4,47". same with othe places

Can some body help me to solve this problem? 

 

with regards

 

 

 Repport.jpeg

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @mohsin-raza ,

 

Are your distance always based on the SUL to the other location?

 

If yes you just need to do the following:

 

  • Add a text box and write the value SUL and make the title as From:
  • Add a slicer with the location and make the title as  To:
    • Make this slicer a dropdown
  • Add a card visualization with the distance value

 

Whenthe users change the value on the slicer the card will change accordingly.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi  @mohsin-raza ,

Here are the steps you can follow:

1. Create calculated table.

Table 2 = DISTINCT('Table'[Plats])

vyangliumsft_0-1643096369109.png

2. Place the [Plats] of Table2 into the first slicer and the [Plats] of Table1 into the second slicer. And put [Distans] of Table1 into Card.

vyangliumsft_1-1643096369114.png

3. Home – Text box, create three Text boxes respectively, write From, to, Distance.

vyangliumsft_2-1643096369120.png

4. Result:

vyangliumsft_3-1643096369121.png

 

Best Regards,

Liu Yang

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

MFelix
Super User
Super User

Hi @mohsin-raza ,

 

Are your distance always based on the SUL to the other location?

 

If yes you just need to do the following:

 

  • Add a text box and write the value SUL and make the title as From:
  • Add a slicer with the location and make the title as  To:
    • Make this slicer a dropdown
  • Add a card visualization with the distance value

 

Whenthe users change the value on the slicer the card will change accordingly.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.