-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from RevealBi/xmla-filter
added dashboard xmla filter
- Loading branch information
Showing
4 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Reveal.Sdk.Dom.Core.Constants; | ||
using Reveal.Sdk.Dom.Data; | ||
using Newtonsoft.Json; | ||
|
||
namespace Reveal.Sdk.Dom.Filters | ||
{ | ||
public sealed class DashboardXmlaFilter : DashboardDataFilterBase | ||
{ | ||
[JsonProperty("DataSourceItem")] | ||
internal DataSourceItem DataSourceItem { get; set; } | ||
public string DimensionUniqueName { get; set; } | ||
public string HierarchyUniqueName { get; set; } | ||
public string LevelUniqueName { get; set; } | ||
public string MeasureUniqueName { get; set; } | ||
public int? Expiration { get; set; } | ||
|
||
internal DashboardXmlaFilter() : this(null) { } | ||
|
||
public DashboardXmlaFilter(DataSourceItem dataSourceItem) | ||
{ | ||
SchemaTypeName = SchemaTypeNames.XmlaGlobalFilterType; | ||
DataSourceItem = dataSourceItem; | ||
} | ||
} | ||
} |