Forum Discussion
How to fix range measure calculation
- 1 year ago
Done,
here is my solution
https://drive.google.com/drive/folders/1hzAYmnoNTT9-oEktmxwirq47gIqez9zF?usp=sharing
If this helped, please consider giving kudos and mark as a solution
me in replies or I'll lose your thread
Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page
Consider voting this Power BI idea
Francesco Bergamaschi
MBA, M.Eng, M.Econ, Professor of BI
Hoping to have understood what yo uare willing to get
Range < 150k Sales Invoices Amount =
VAR FilteredOPA =
FILTER (
ADDCOLUMNS (
SUMMARIZE ( 'Fact Sales Invoices', 'Dimension Opportunity Attributes'[OPA ID] ),
"Sales", 'Fact Sales Invoices'[Sales Invoices Amount NOK]
)
,
[Sales] < 150000
)
VAR selected =
SELECTCOLUMNS ( FilteredOPA, 'Dimension Opportunity Attributes'[OPA ID] )
VAR Table_with_lineage =
TREATAS ( selected, 'Dimension Opportunity Attributes'[OPA ID] )
RETURN
CALCULATE ( 'Fact Sales Invoices'[Sales Invoices Amount], Table_with_lineage, REMOVEFILTERS ( Product[ProductNo] )
If this helped, please consider giving kudos and mark as a solution
me in replies or I'll lose your thread
consider voting this Power BI idea
Francesco Bergamaschi
MBA, M.Eng, M.Econ, Professor of BI