Compare commits
1 Commits
certificat
...
dependabot
Author | SHA1 | Date | |
---|---|---|---|
|
5d4f705355 |
@ -1,6 +1,4 @@
|
||||
# Assign default period to date-pickers
|
||||
You can assign default period by messures, just use DAX!
|
||||
# Version 1.0.1
|
||||
1. Fix bug: the filter doesn't work after rename the field on it
|
||||
# Known issues
|
||||
* Can't edit date in PowerBiApp(only on some Android devices)
|
||||
* Can't edit date in PowerBiApp(only on some Android devices)
|
6
package-lock.json
generated
6
package-lock.json
generated
@ -1498,9 +1498,9 @@
|
||||
}
|
||||
},
|
||||
"acorn": {
|
||||
"version": "6.4.0",
|
||||
"resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz",
|
||||
"integrity": "sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw==",
|
||||
"version": "6.4.1",
|
||||
"resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz",
|
||||
"integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==",
|
||||
"dev": true
|
||||
},
|
||||
"acorn-walk": {
|
||||
|
@ -1,12 +1,12 @@
|
||||
{
|
||||
"visual": {
|
||||
"name": "PeriodSlice-Syinpo",
|
||||
"displayName": "PeriodSlicer-Syinpo",
|
||||
"name": "Period Slice - Syinpo",
|
||||
"displayName": "Period Slicer - Syinpo",
|
||||
"guid": "SyinpoPeriodSlice9771124744984CE8959D0304EEAB35E8",
|
||||
"visualClassName": "Visual",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.0",
|
||||
"description": "A period slicer, which can be initialized by messures.",
|
||||
"supportUrl": "http://www.syinpo.com",
|
||||
"supportUrl": "https://github.com/mujiannan/PeriodSlicer-Syinpo/issues",
|
||||
"gitHubUrl": "https://github.com/mujiannan/PeriodSlicer-Syinpo"
|
||||
},
|
||||
"apiVersion": "2.6.0",
|
||||
|
@ -153,12 +153,9 @@ export class Visual implements IVisual {
|
||||
//determine period from dateSelectors
|
||||
let period: IPeriod = this.periodSelectorManager.period;
|
||||
let target: models.IFilterColumnTarget;
|
||||
let splitPosition:number=this.category.source.queryName.indexOf('.');
|
||||
let tableName:string=this.category.source.queryName.substr(0, splitPosition);
|
||||
let fieldName:string=this.category.source.queryName.substr(splitPosition+1,this.category.source.queryName.length-splitPosition-1);
|
||||
target = {
|
||||
table: tableName, // table
|
||||
column: fieldName // col1
|
||||
table: this.category.source.queryName.substr(0, this.category.source.queryName.indexOf('.')), // table
|
||||
column: this.category.source.displayName // col1
|
||||
};
|
||||
|
||||
//filter
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user