Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Ok so i have 3 columns: contracts, client and status
contracts is a list of contractnumbers
client is the one that "owns" the contract. like if a client wants to buy something a contract is being made
status is either: cancelled, order or option. These are writen as text.
i want to make a chart where i can show which client has the most cancelled contracts but I can't figure it out.
Any help is appreciated
Thijn
Solved! Go to Solution.
Try creating a MEASURE like
Count of Cancelled contracts = CALCULATE ( COUNT ( TableName[Contracts] ), TableName[Status] = "Cancelled" )
Then put "Client" column in X-Axis and "Measure" in Values in a chart.........and sort by MEASURE
Try creating a MEASURE like
Count of Cancelled contracts = CALCULATE ( COUNT ( TableName[Contracts] ), TableName[Status] = "Cancelled" )
Then put "Client" column in X-Axis and "Measure" in Values in a chart.........and sort by MEASURE
Thank you! this is exactly what I needed.
Do you have any tips on how/where to learn the functions?
this would make PBI much easier
Hi,
Please check the link below
Also following books are great for learning
Learn to Write DAX: A practical guide to learning Power Pivot for Excel and Power BI
M Is for (Data) Monkey: A Guide to the M Language in Excel Power Query
Also followig websites have quality learning material