Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
you can try this
Measure = CALCULATE(SUM(Table[Fieldvalue]);FILTER(Table;Table[FieldOption]="Option 1"))
you can use SUM, COUNT, and any agregate function
am not getting what u exactly want to achieve . okay for my assumption.
If u select some value in slicer do u want to get that selected value in measure ? if yes try this.
CALCULATE( CONCATENATEX(
VALUES( "Column Name" ),","
)
Let me know if any help
Hi @thliberato,
You'd better use swith function as the follewing fformula. When you select the "Current" value, it will run the [Internet Total Sales] measure, when select the "MTD", it will run [MTD Sales] and so on. If you don't select, it will return balnk.
Sales := SWITCH ( VALUES ( Period[Period] ), "Current", [Internet Total Sales], "MTD", [MTD Sales], "QTD", [QTD Sales], "YTD", [YTD Sales], BLANK () )
For more details, please refer to the article.
Best Regards,
Angelia
HI
You can use a measure for filter option that is selected (You can use switch function) and then use it in the final expression.
Switch function:
https://msdn.microsoft.com/en-us/library/gg492166.aspx
I am ready for any help!
Regards
Mostafa
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
100 | |
88 | |
68 | |
61 |
User | Count |
---|---|
152 | |
120 | |
102 | |
87 | |
68 |