microsoft / microsoft/Analysis-Services

Update BPA Rule - Provide format string for visible numeric measures

Open
#212 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
732
Forks
433
PR merge metrics
No merged PRs in 30d

Description

The rule as is now doesn't take into account format string expressions. Should be updated to the following. Text is bold is the addition to the current rule.

IsVisible
and string.IsNullOrWhitespace(FormatString)
and string.IsNullOrWhitespace(FormatStringExpression) and (DataType = "Int64" or DataType = "DateTime" or DataType = "Double" or DataType = "Decimal")

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository for the BPA rule containing IsVisible and the existing FormatString check. Read the rule definition and its nearby tests or examples, then update the condition to account for FormatStringExpression and verify that visible numeric measures with either format field are excluded.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.