bhavesh-jadav / Advance-Card

Advance Card Visual for Power BI
http://bhaveshjadav.in/powerbi/advancecard/
GNU General Public License v3.0
25 stars 12 forks source link

Tooltip Field Order #35

Open ramoher1 opened 5 years ago

ramoher1 commented 5 years ago

Describe the bug When using the Tooltip fields, the order of fields is not displayed in the same order as they are in the Fields section.

To Reproduce Steps to reproduce the behavior:

  1. Add new Advance Card visualization
  2. Add whole number field to "Data field" (ex. Unique Visitors)
  3. Add calculated metric to "Tooltip field" (ex. Unique Visitors YOY%)
  4. Add field in "Data field" to "Tooltip field" (ex. Unique Visitors) below current tooltips
  5. Add calculated metric to "Tooltip field" (ex. Unique Visitors Last Year) below current tooltips
  6. Click into Format section
  7. Click "Show Tooltip" slider to "On"
  8. Hover over visualization to see display order of fields

Expected behavior When card is hovered over, tooltips should be displayed in the order shown in the Fields section

Screenshots Expected Order image

Displayed Order image

Desktop (please complete the following information):

bhavesh-jadav commented 5 years ago

Did you trying droping fields in tooltip in different order?

ramoher1 commented 5 years ago

Yes, I tried reordering them initially. After that didn’t work, I removed all of the fields in the tooltips and dropped them in in the order I wanted, but the same error occurred.

bhavesh-jadav commented 5 years ago

I tried same thing. I dropped the field in correct order and it diplayed in correct order. But if you dropped them in wrong order and tried to rearrange them, it will show them in intial order in which you dropped them.

I suggest you try this on new card and see if it shows the same results and let me know.

ramoher1 commented 5 years ago

That worked, thank you. I wish it would update just by moving them around rather than making a whole new card.