Forum Discussion
Use Quick Measure to show Percentage by Column?
- Anonymous9 years ago
abeiswinger,
Right-click your table and select “New measure” to create the following measure in your tables.
Total = SUM(Table[Column A])
On-Time total = CALCULATE(SUM(Table[Column A]),FILTER(Table, Table[Column C]="On-Time"))
percent = [On-Time total]/[Total]
Then create line chart as follows.
Regards,
abeiswinger,
Right-click your table and select “New measure” to create the following measure in your tables.
Total = SUM(Table[Column A])
On-Time total = CALCULATE(SUM(Table[Column A]),FILTER(Table, Table[Column C]="On-Time"))
percent = [On-Time total]/[Total]
Then create line chart as follows.
Regards,
Anonymous
I receive an error that says "The syntax for "On" is incorrect. Whatever I put instead of "On-Time Total" gives the same mesage (the syntax for ____ is incorrect)
- Anonymous9 years agoNot applicable
abeiswinger,
Please share sample data of your table, and post the screenshot of your scenario. And you can check my DAX in the attached PBIX file.
Regards,