This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| humanImageURL = | |
| // Refernce: https://hatfullofdata.blog/svg-in-power-bi-part-3/ | |
| // user defined variables | |
| VAR _kpiValue = [_test_SVG_testvalue] //bar value between 0 and 1, use this to inject your kpi value | |
| VAR _ColorForgroundColor = "#4040ef" | |
| VAR _ColorBackground = "gray" | |
| // User defined Icon path for svg. This defines the icon shape. | |
| VAR _svg_IconPath = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| n = input('Enter a number: '); | |
| switch n | |
| case -1 | |
| disp('negative one') | |
| case 0 | |
| disp('zero') | |
| case 1 | |
| disp('positive one') |