TabularEditor / TabularEditor3

Bug reports, feature requests, discussion and documentation for Tabular Editor 3 (commercial version).
65 stars 7 forks source link

Best Practice Analyzer issue #1396

Closed muhssamy closed 3 days ago

muhssamy commented 3 days ago

Description

if i have 2 measures with the same definition

  1. Formatted Measure
  2. Non-Formatted Measure

the best practice analyzer will not detect them as duplicated

Tabular Editor 3 Version

3.18.0

Screenshots

No response

Steps to Reproduce

i have those measures in my model

CALCULATE([# Transactions], 'Online Shipment Type'[Shipment Status ID] = 1)
CALCULATE(
        [# Transactions], 
        'Online Shipment Type'[Shipment Status ID] = 1      
)

Expected behavior

they should be reported as duplicate

Crash Report

No response

Windows Version

10

otykier commented 3 days ago

Hi @muhssamy Kindly be aware that TE3 does not ship any Best Practice Analyzer rules out-of-the-box, and what you're describing is an issue with the rule, not with TE3 itself. From where have you gotten this rule?

muhssamy commented 3 days ago

image

This is the Role

DBojsen commented 3 days ago

Hi @muhssamy

You should create an issue in the repo where the rule is from, if it doesn't work as expected. https://github.com/microsoft/Analysis-Services/tree/master/BestPracticeRules

muhssamy commented 3 days ago

thanks All