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

Text Alignment #2

Closed aruntd77 closed 6 years ago

aruntd77 commented 6 years ago

Dear Bhavesh,

This visual is very nice and useful visual. It combines many features and thank you for coming up with this visual.

However I am requesting a feature to add for Horizontal and Vertical Alignment for Data Label.

I wanted to use Card Visual for P&L Report where in we report numbers (Currencies) and we would like to align the number to Right as finance standard.

Also if you can provide an option for negative number - card to have option to format or show the numbers in round brackets.

These two features will surely help for financial dashboard which all of the available card visuals lack.

bhavesh-jadav commented 6 years ago

@aruntd77

  1. For horizontal and vertical alignment can you post some screenshots about what kind of alignment are you talking about so that I can have a better idea.
  2. Regarding showing negative number in brackets. you can achieve this through DAX. Using IF function and appending brackets to value if the number is negative.
aruntd77 commented 6 years ago

alignment issue In the picture I have attached, I wanted to align the first text box number towards right. If you see, both boxes are having same width however no of digits are varying. Text is always center aligned. If we have any options to set the Horizontal Alignment in Settings, it will be of great help.

bhavesh-jadav commented 6 years ago

I will start working on this and will let you know on this thread. It may take some time. Thank you for your suggestion.

aruntd77 commented 6 years ago

Thank you!

aruntd77 commented 6 years ago

Hi Bhavesh,

Just wanted to give feedback on the visual. In my report, I had to use around 70 cards to show the KPIs. When I did it using Advanced Card, the data loading or showing the Visual is taking long time. I tested after replacing all these cards with OOB cards then the report and Visual loading is faster.

I also tried with Infogrpahic Visual, which again resulted in slow performance while loading report.

There are no complex DAX queries.

I guess there is some issue while loading large no of custom visuals as opposed to OOB visuals.

May be if you can do some load test, it might hint you to improve performance.

Just wanted share my observation.

Thanks Arun

On Wed, Jun 13, 2018, 4:20 PM Bhavesh Jadav notifications@github.com wrote:

I will start working on this and will let you know on this thread. It may take some time. Thank you for your suggestion.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bhavesh-jadav/Advance-Card/issues/2#issuecomment-396917727, or mute the thread https://github.com/notifications/unsubscribe-auth/ASd7k6aHEN2TlO5YMzcL77IqdDGPVyPYks5t8QOVgaJpZM4UlyNK .

bhavesh-jadav commented 6 years ago

Hi Arun,

Can you give me below details if possible? It will help me to analyse performance of the visual.

What is the time difference between loading default card visual and advance card visual? Both online service and on desktop if possible. What settings have you applied in advance card visual i.e. are you using them on default settings or with some customization? Are you using import query or direct query? What is the performance when only using single advance card visual on page?

It would be great if you can answer above questions. Meanwhile i will check for any performance impact of using advance card visual.

aruntd77 commented 6 years ago

Hi Bhavesh,

The default card is showing the cached data and then refreshes in less than 3 sec.

Advanced Card with 20 numbers on report takes 10-12 secs to load.

Single Advanced Card is taking about 2-3 secs to display data.

I am using Imported data, not direct query.

Above info is for pbi service. For desktop, it's much quicker for default cards. For advanced card it takes about 4-5 secs for 20 cards.

Thanks Arun

On Fri, Jun 15, 2018, 12:26 PM Bhavesh Jadav notifications@github.com wrote:

Hi Arun,

Can you give me below details if possible? It will help me to analyse performance of the visual.

What is the time difference between loading default card visual and advance card visual? Both online service and on desktop if possible. What settings have you applied in advance card visual i.e. are you using them on default settings or with some customization? Are you using import query or direct query? What is the performance when only using single advance card visual on page?

It would be great if you can answer above questions. Meanwhile i will check for any performance impact of using advance card visual.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bhavesh-jadav/Advance-Card/issues/2#issuecomment-397550741, or mute the thread https://github.com/notifications/unsubscribe-auth/ASd7k4STMYlUZSqNvI0SjNSFgESFzVP8ks5t82-dgaJpZM4UlyNK .

bhavesh-jadav commented 6 years ago

Hi Arun,

Thank you for providing extra info. I will test the visual in different load test scenario with different browsers and see what it is that causing more time to load visual.

Thanks, Bhavesh

bhavesh-jadav commented 6 years ago

Alignment feature is available in v1.0.6 of Advance card visual. You will find this setting in General properties. See wiki for more details. Download latest version from AppSource.