Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I have the following dataset in a table named 'Major Funding':
Word |
government |
donors |
igf |
government |
government |
donors |
igf |
government |
donors |
no budget yet |
government |
donors |
igf |
self-funded |
government |
donors |
no budget yet |
government |
donors |
government |
government |
government |
donors |
government |
donors |
private sector |
government |
donors |
self-funded |
government |
government |
donors |
self-funded |
self-funded |
donors |
self-funded |
donors |
self-funded |
government |
government |
government |
donors |
government |
donors |
self-funded |
government |
donors |
self-funded |
government |
donors |
government |
donors |
government |
self-funded |
government |
self-funded |
donors |
self-funded |
government |
donors |
self-funded |
donors |
self-funded |
I then create a measure called RowCountMajorFunding = COUNTROWS('Major Funding')
I then plot a chart of 'Word' as x-axis and 'RowCountMajorFunding' as 'Values' to get the following visual:
How can the above chart be converted into a 'Relative Frequency' chart so that it shows % instead of absolute numbers?
Thanking you in advance.
Chris
Solved! Go to Solution.
You can try a measure like
RowCountMajorFunding %= divide(COUNTROWS('Major Funding'),calculate(COUNTROWS('Major Funding'),allselected('Major Funding')))
or
RowCountMajorFunding %= divide(COUNTROWS('Major Funding'),calculate(COUNTROWS('Major Funding'),all('Major Funding')))
You can try a measure like
RowCountMajorFunding %= divide(COUNTROWS('Major Funding'),calculate(COUNTROWS('Major Funding'),allselected('Major Funding')))
or
RowCountMajorFunding %= divide(COUNTROWS('Major Funding'),calculate(COUNTROWS('Major Funding'),all('Major Funding')))
Many thanks, works like a charm
Regards,
Chris
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 44 | |
| 43 | |
| 38 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 67 | |
| 63 | |
| 30 | |
| 30 | |
| 23 |