Forum Discussion
DimaMD
Solution Sage
4 years agoCount unique rows plan
Hello community! I have a task, need your help to solve it. We have two tables, one of them - date and month; second - customer and product ID's, number of line. Based on one month (february) ...
- 4 years ago
Hi,
Please check the below picture and the measure.
fix measure = VAR conditiontable = FILTER ( Plan, Plan[Contract] IN { "Own production", "Trading" } ) VAR nonconditiontable = SUMMARIZE ( EXCEPT ( Plan, conditiontable ), Plan[Contract] ) RETURN COUNTROWS ( conditiontable ) + COUNTROWS ( nonconditiontable )
Jihwan_Kim
Super User
4 years agoHi,
Please check the below picture and the measure.
fix measure =
VAR conditiontable =
FILTER ( Plan, Plan[Contract] IN { "Own production", "Trading" } )
VAR nonconditiontable =
SUMMARIZE ( EXCEPT ( Plan, conditiontable ), Plan[Contract] )
RETURN
COUNTROWS ( conditiontable ) + COUNTROWS ( nonconditiontable )
- DimaMD4 years ago
Solution Sage
Ні, Jihwan_Kim
Thanks for the help, your measure worked
Greetings from Ukraine.